note 82286 added to features.file-upload
| From: | bokiatenxi at yahoo dot com | Date: | Fri, 04 Apr 2008 03:57:24 +0000 |
| Subject: | note 82286 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137915@lists.php.net to get a copy of this message | ||
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)
----
Server IP: 194.102.65.226
Probable Submitter: 58.69.221.23
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- https://master.php.net/note/edit/82286
Del: integrated -- https://master.php.net/note/delete/82286/integrated
Del: useless -- https://master.php.net/note/delete/82286/useless
Del: bad code -- https://master.php.net/note/delete/82286/bad+code
Del: spam -- https://master.php.net/note/delete/82286/spam
Del: non-english -- https://master.php.net/note/delete/82286/non-english
Del: in docs -- https://master.php.net/note/delete/82286/in+docs
Del: other reasons-- https://master.php.net/note/delete/82286
Reject -- https://master.php.net/note/reject/82286
Search -- https://master.php.net/manage/user-notes.php