note 55902 deleted from features.file-upload by victor
| From: | victor@php.net | Date: | Wed, 17 Aug 2005 08:06:11 +0000 |
| Subject: | note 55902 deleted from features.file-upload by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93782@lists.php.net to get a copy of this message | ||
Note Submitter: bartunek at oneheadlight dot com
----
This has been very helpful. I couldn't get the upload to work. I am running 4.1 and the $_FILES
variable was empty (not null). Someone in this thread suggested setting the upload_tmp_dir in the
php.ini file. That's where I found the "file_uploads = Off" flag. Changing that to
"On", setting the upload_tmp_dir, and restarting apache got me going again. This even
works with IE and XP/SP2. I did find that if the file size was greater than the MAX_FILE_SIZE
variable in the form, the file wouldn't upload and the tmp_name and size would be
'none' and '0' respectively.