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