[PHP] Supressing warnings on "max file size exceeded"

2001-07-25 Thread Bing
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 hel

Re: [PHP] Re: Supressing warnings on "max file size exceeded"

2001-07-25 Thread Bing
Thanks for your input Henrik, The problem isn't allowing for file-size really, I'd like to limit it to say some 500kb, but it's the inability to stop anyone from violating this rule beforehand that triggers the warning. I can't stop anyone from uploading a 600kb file until it's uploaded - and