note 37796 deleted from function.move-uploaded-file by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 05 May 2004 15:24:16 +0000 |
| Subject: | note 37796 deleted from function.move-uploaded-file by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69245@lists.php.net to get a copy of this message | ||
Note Submitter: Jesper
----
If you need the file extension, why not just do the simple oneliner:
$ext = substr( $_FILES['file']['name'], strrpos(
$_FILES['file']['name'], "." )+1 );