sorry, forgot to mention that, the server is set up to parse .html files..
everything else works just fine, it's just that when i post a form with a
file input element in it, and that element is left blank it lets me know
that there was no file uploaded.  (which I normally wouldn't mind except
that it kills the header redirects and breaks the page a bit).

Thanks.


-----Original Message-----
From: Shrock, Court [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 3:04 PM
To: Ethan Nelson; '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] PHP Warning: No File Uploaded in Unknown on Line
0 .. any ideas?


.html files are not normally parsed by php...do you have your webserver
setup to parse .html files using PHP?

> -----Original Message-----
> From: Ethan Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:08 PM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP-WIN] PHP Warning: No File Uploaded in Unknown 
> on Line 0..
> any ideas?
> 
> 
> hey there..
> 
> this has been on my nerves all day today.. here is the problem..
> 
> I have a form.. it looks like this:
> 
> echo "<form method=\"post\" action=\"./mgr.html\"
> enctype=\"multipart/form-data\">\n";
> echo "Header:<br>\n";
> echo "<input type=text name=header size=50><br><br>\n";
> echo "Body:<br>\n";
> echo "<textarea name=body wrap=virtual cols=45
> rows=10></textarea><br><br>\n";
> echo "Image:<br>\n";
> echo "<input type=file name=image><br><br>\n";
> echo "<input type=submit name=function value=\"Add this 
> special\"><br>\n";
> echo "</form>\n";
> 
> mgr.html's first line of code looks like this:
> 
> die();
> 
> my browser output is this:
> 
> PHP Warning: No file uploaded in Unknown on line 0 
> 
> I have no idea how this is happening.. it seems that php is 
> letting me know
> that i didn't upload a file BEFORE it even parses the 
> mgr.html file.  All i
> want to do is to get rid of this error message, perferiably 
> in the php.ini
> file (i am running php 4.3.0-dev on a win2k box). I have 
> "display_errors =
> Off" in my php.ini file.
> 
> any ideas?
> 
> -Chris
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to