Max File Size exceeded
| From: | Unknown Sender | Date: | Sun, 20 Aug 2000 09:37:48 +0000 |
| Subject: | Max File Size exceeded | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12639@lists.php.net to get a copy of this message | ||
Hi All,
I've written a script that accepts an uploaded image, it sets the
MAX_FILE_SIZE hidden variable as specified. However, when a file that is
too large is uploaded the script doesn't get a chance to show its own
error message, instead the warning outputed:
Warning: Max file size exceeded - file [form_data] not saved in Unknown on
line 0
How can I prevent this error occuring and handle the condition myself?
Thanks,
Shaun