If you will notice, the error happens on line 0. That happens before PHP hits my scripts, so the error here is a processing error in PHP... not the result of a command I run. I could post to an empty file and PHP would still kick out this error if I didn't specify anything in the <input type=file name=thename> tag on the previous form.
-Ethan -----Original Message----- From: Dash McElroy To: Ethan Nelson Cc: '[EMAIL PROTECTED]' Sent: 4/24/02 1:11 PM Subject: RE: [PHP-WIN] File upload issue 4.2.0 You should probably check to see if the variable is set before you try and read the uploaded file... -Dash -----Original Message----- From: Ethan Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 11:57 AM To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] File upload issue 4.2.0 I get this error when I submit a form with nothing specified in the file upload field. My understanding is that the server or PHP should submit "none" by default when nothing is submitted as the value of the name associated with the file upload field. This doesn't appear to be sending anything at all? Did something change? PHP Warning: No file uploaded in Unknown on line 0 PHP Warning: Unable to open '' for reading: Permission denied in d:\inetpub\klcc\public_html\admin\broadcast\brodnotes.html on line 28 Thanks, -Ethan ___________________________________ Ethan Nelson, Systems Administrator Net Solutions, LLC 840 Lawrence Street Eugene, OR 97401 [EMAIL PROTECTED] http://www.netsolutionsllc.com Voice +1 541 345-7087 Fax +1 541 485-5519 -- 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