[EMAIL PROTECTED] (Bing) wrote: > How do I suppress the following message when posting a file to a > .php-script? > > Warning: Max file size exceeded - file [uploadedfile] not saved in > /home/html/org.begravningar/intradev_html/forum.php on line 0 > > It's a warning on line 0, and even if I put error_reporting(0) on line > 1 it doesn't help. Since the warning is always present all cookies (or > other headers) fail too. > > Putting a limit in the <input>-tag for the file only triggers the > warning earlier.. > > Any suggestions? > is the file very large? then you might have to set: ; Maximum allowed size for uploaded files. upload_max_filesize = 2M to some more (in your php.ini). -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]