note 18767 added to features.file-upload
| From: | petermah at telusplanet dot net | Date: | Mon, 04 Feb 2002 21:36:29 +0000 |
| Subject: | note 18767 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26246@lists.php.net to get a copy of this message | ||
I didn't get uploads working until I changed this line from the example from the file
processing code.
if (is_uploaded_file($HTTP_POST_FILES['userfile'])) {
to:
if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+18767
http://master.php.net/manage/user-notes.php?action=delete+18767
http://master.php.net/manage/user-notes.php?action=reject+18767