note 75902 added to features.file-upload.errors
| From: | belowtherim2000 at yahoo dot com | Date: | Thu, 21 Jun 2007 01:25:54 +0000 |
| Subject: | note 75902 added to features.file-upload.errors | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127844@lists.php.net to get a copy of this message | ||
I've been playing around with the file size limits and with respect to the post_max_size
setting, there appears to be a hard limit of 2047M. Any number that you specify above that results
in a failed upload without any informative error describing what went wrong. This happens
regardless of how small the file you're uploading may be. On error, my page attempts to output
the name of the original file. But what I discovered is that this original file name, which I
maintained in a local variable, actually gets corrupted. Even my attempt to output the error code
in $_FILES['uploadedfiles']['error'] returns an empty string/value.
Hopefully, this tidbit will save someone else some grief.
----
Server IP: 69.39.81.135
Probable Submitter: 192.156.198.62
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.errors.php
Edit -- https://master.php.net/note/edit/75902
Del: integrated -- https://master.php.net/note/delete/75902/integrated
Del: useless -- https://master.php.net/note/delete/75902/useless
Del: bad code -- https://master.php.net/note/delete/75902/bad+code
Del: spam -- https://master.php.net/note/delete/75902/spam
Del: non-english -- https://master.php.net/note/delete/75902/non-english
Del: in docs -- https://master.php.net/note/delete/75902/in+docs
Del: other reasons-- https://master.php.net/note/delete/75902
Reject -- https://master.php.net/note/reject/75902
Search -- https://master.php.net/manage/user-notes.php