RE: [PHP] How to suppress warning in file upload
| From: | Maxim Maletsky | Date: | Thu, 16 Nov 2000 08:58:03 +0000 |
| Subject: | RE: [PHP] How to suppress warning in file upload | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25656@lists.php.net to get a copy of this message | ||
this can be modified in PHP.ini
search for max_file_upload
Cheers,
Maxim Maletsky
-----Original Message-----
From: Sascha Mantscheff [mailto:smantscheff@9monate.de]
Sent: Thursday, November 16, 2000 5:51 PM
To: php-general@lists.php.net
Subject: [PHP] How to suppress warning in file upload
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net