note 82286 deleted from features.file-upload by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 17:01:01 +0000 |
| Subject: | note 82286 deleted from features.file-upload by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176140@lists.php.net to get a copy of this message | ||
Note Submitter: bokiatenxi at yahoo dot com
----
You can also use strrchr() to get the file extension, it produces the same result as the post below
mine...
i.e. file_ext = strrchr($filename, '.');
This gets the string after the last occurrence of a dot (including the dot)