Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- @Nome: Pegar Extensão do arquivo
- @Créditos: SuYaNw Dácio
- http://suyanwdacio.blogspot.com/
- */
- function GetFileExtension($str)
- {
- return substr($str, strlen($str) - 4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement