note 8804 added to filetype
| From: | erick at ericknelson dot com | Date: | Thu, 28 Sep 2000 19:11:36 +0000 |
| Subject: | note 8804 added to filetype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5566@lists.php.net to get a copy of this message | ||
If you want to find the extension of the file, you can do this:
$ext = strrchr($file_loc_name,'.');
It will return the extension with the . on it (ex: ".mel")
http://www.php.net/manual/function.filetype.php