note 55902 added to features.file-upload

From: Date: Tue, 16 Aug 2005 23:47:37 +0000
Subject: note 55902 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-93771@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55902 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55902&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55902&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#93771) next »