PHP5 rc2 now generates a notice for empty file uploades

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2004
Andrew Crowe
 
Posts: n/a
Default PHP5 rc2 now generates a notice for empty file uploades

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0