note 36889 added to features.file-upload
| From: | Shekhar at rn2 dot php dot net | Date: | Sun, 26 Oct 2003 10:38:47 +0000 |
| Subject: | note 36889 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59303@lists.php.net to get a copy of this message | ||
To upload large files, besides setting upload_max_filesize, you must also set post_max_size in
php.ini or using ini_set() function. Keep the value to more than the maximum expected size of the
upload. This is because, you may be sending other post data along with the upload file. For example:
post_max_size = 601M
This should be a safe setting if you want to upload files of around 600 MB (as specified by
upload_max_filesize = 600M)
While uploading large files, you should also increase the values for max_execution_time and
max_input_time directives. Else your script will timeout or timeout before being able to parse the
entire input/uploaded data.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36889
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36889&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36889&report=yes
Search -- http://master.php.net/manage/user-notes.php