note 11349 deleted from features.file-upload.common-pitfalls by yohgaki
| From: | yohgaki@php.net | Date: | Mon, 28 Jan 2002 11:09:23 +0000 |
| Subject: | note 11349 deleted from features.file-upload.common-pitfalls by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25909@lists.php.net to get a copy of this message | ||
Phew... It helps to read closely!
Here's one thing that had me boggled for about an hour or two:
When using $HTTP_POST_FILES make sure that you grab 'tmp_name' instead of just
'name'. ie: $HTTP_POST_FILES['userfile']['tmp_name']
Otherwise, you'll spend a lot of time trying to track down the cause of the 'No such file
or directory' warning.....
Good luck guys! Also, you don't need to do the uploadfile[] array thingy to upload multiple
files. Just give them different names... I did it and it works great.
-Chicken