473,505 Members | 14,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP5 rc2 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


Jul 17 '05 #1
0 1198

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2944
by: Rob Ristroph | last post by:
I have tried out PHP 5 for the first time (with assistance from this group -- thanks!). The people I was working with have a site that uses lots of php objects. They are having problems with...
8
1860
by: Gene Kahn | last post by:
Windows XP, Apache 2, PHP5 RC1 Hello, A total newbie here. I can't seem to get Apache2 to load the php5 module. When I loaded up this html file in a browser, only the Today's date: line prints on...
0
1280
by: Andrew Crowe | last post by:
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...
4
5828
by: badbetty | last post by:
Dear Googlers I have installed PHP5 to run on WinXP against Apache 2. It works! ie. I have tested a few simple scripts and a basic xml document parse. I now want to try the XSL extension so I...
2
6850
by: Pedro Fonseca | last post by:
Greetings everyone! I'm porting everything to PHP5. I have session variables in all of my web application. Until PHP5 I was using session variables like: if ($_SESSION == 'Bar') { $value = 5;...
0
1936
by: Tristan Tarrant | last post by:
Dear all, we're having a problem with the SOAP extension provided by PHP5. Similar calls using the SOAP component of PEAR work. Tracing the request with a network analyzer this is what PHP5...
0
2125
by: Roy Shaw | last post by:
When configuring PHP5 (5.0.3) to use the mysqli libraries I get a "No such file or directory" from the configure script. My goal is to get PHP5 running with mysql 4.1.09 with both the mysql and...
1
2187
by: Arne Claus | last post by:
Hi. I've got a strange problem here with PHP5 (5.0.4). I've got file A, defining a class A and a file B, which sets up an Object of A (aObj) in the global scope like this. ----- A.php ----...
9
5242
by: java | last post by:
Hey there, I just removed an elderly PHP4-Installation from my Windows-Box and installed PHP 5.2.1. I used the PHP4-Module as local batchfile- interpreter by E:\ersDHCP>php ./extractLog.php ...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.