PHP Warning: No File Uploaded in Unknown on Line 0.. any ideas?
| From: | Ethan Nelson | Date: | Wed, 17 Apr 2002 22:08:20 +0000 |
| Subject: | PHP Warning: No File Uploaded in Unknown on Line 0.. any ideas? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13143@lists.php.net to get a copy of this message | ||
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