advanced code snippet search
lolindirfaelivrin on 08/10/10
php file extension
08/10/10 08:25am
2 people have marked this snippet as a favorite
roli000convergine
/**** @Get File extension from file name** @param string $filename the name of the file** @return string***/function getFileExtension($filename){ return substr($filename, strrpos($filename, '.'));}
Report this snippet Tweet
Comment:
You need to login to post a comment.