Return to Snippet

Revision: 46446
at May 19, 2011 21:03 by soup


Initial Code
$filename = 'mypic.gif';
$ext = pathinfo($filename, PATHINFO_EXTENSION);

Initial URL
http://cowburn.info/2008/01/13/get-file-extension-comparison/

Initial Description

                                

Initial Title
get file extension

Initial Tags
files, extension

Initial Language
PHP