RE: [PHP] Bug with multipart/form-data ?
| From: | Jay Blanchard | Date: | Mon, 05 Apr 2004 20:04:09 +0000 |
| Subject: | RE: [PHP] Bug with multipart/form-data ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182400@lists.php.net to get a copy of this message | ||
[snip]
I have a form in a page 1, that POSTs a file and some hidden's to page
2. If
the file size is bigger that the max in php.ini, in page 2, $_POST is
empty.
[/snip]
Why, of course it is! The php.ini sets the max file size $_POST will be
empty because it would not be allowed to load. You have two choices;
A. increase the max file size in the php.ini
2. reduce the size of the file being uploaded.
It is not a bug.