note 42137 added to function.move-uploaded-file
| From: | bradati-opticdotcom at rn2 dot php dot net | Date: | Wed, 05 May 2004 01:23:37 +0000 |
| Subject: | note 42137 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69216@lists.php.net to get a copy of this message | ||
Re: Jesper
Getting the file extension from $_FILES['userfile']['name']
You can do that, or you could explode by the period, and get the 3rd element in the array.
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42137
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42137&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42137&report=yes
Search -- http://master.php.net/manage/user-notes.php