How to suppress warning in file upload
| From: | Sascha Mantscheff | Date: | Thu, 16 Nov 2000 08:50:38 +0000 |
| Subject: | How to suppress warning in file upload | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25654@lists.php.net to get a copy of this message | ||
I'm using the file upload feature. When uploading large files, I get the
warning:
Warning: Max file size exceeded - file [userfile] not saved in
<myfile>.php3 on line <nnn>
At the beginning of the file I suppress error reporting with the
statement
error_reporting(0);
Still, this error gets through. [Also, line <nnn> does not contain any
relevant code for this warning.] How can I suppress this warning without
changing the global error reporting configuration?
s.m.