Upload MAX_SIZE and error reporting
| From: | Meir Kriheli - MKsoft | Date: | Sun, 16 Jul 2000 17:07:35 +0000 |
| Subject: | Upload MAX_SIZE and error reporting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6821@lists.php.net to get a copy of this message | ||
Hello everyone,
When user uploads a file larger then max_size, I get few warnings,
and my headers are not sent.
Even when I set error_reporting(0) at the begining of the page,
the first warning appears, saying
Warning: Max file size exceeded - file [userfile] not saved in Unknown on
line 0.
How can I supress this message ?
I'm using PHP4.0.1pl2 on apache/linux.
I also have auto_prepend files
Thanks,
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd