This is a discussion on PHP5 rc2 now generates a notice for empty file uploades within the PHP Language forums, part of the PHP Programming Forums category; Hi guys, We've updated our dev copy of PHP5 to RC2 and I've noticed that if I include ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi guys,
We've updated our dev copy of PHP5 to RC2 and I've noticed that if I include a file upload form element and submit the form without selecting a file it generates a "Notice: No file uploaded in Unknown on line 0" error. Is there any way to get it to stop generating those notices? I don't want to turn notice reporting off as they're useful while developing, but I don't want that notice happening whenever a file upload is not required as it breaks redirect and messes the page up unnecessarily. Also on our production server we've set up an error notification system and don't want it clogged up with extraneous notices as well. Thanks, Andrew |