Re[2]: [PHP] File Uploads!
| From: | Tom Rogers | Date: | Sun, 29 Jun 2003 12:40:21 +0000 |
| Subject: | Re[2]: [PHP] File Uploads! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153316@lists.php.net to get a copy of this message | ||
Hi,
Sunday, June 29, 2003, 10:17:43 PM, you wrote:
TR> Hi,
TR> Sunday, June 29, 2003, 9:49:43 PM, you wrote:
CT>> Hi,
CT>> This is the error I get in the log file:
CT>> [error] PHP Warning: POST Content-Length of 11184886 bytes exceeds the
CT>> limit of 8388608 bytes in Unknown on line 0
CT>> This is absolutely correct. The problem is
CT>> this error does not reach my PHP script and I
CT>> have no idea how can I tell my user he posted
CT>> a file which exceds the size.
CT>> The $_FILES is empty, same for $HTTP_...
CT>> Any idea is appreciated.
CT>> Cheers,
CT>> Catalin
Maybe you have to wind up the post_max_size in php.ini and then control with
MAX_FILE_SIZE in the form for the error to show up in the $_FILES
array....
--
regards,
Tom