Firstly, before evening uploading a file, you should check to see whether a file has been selected (there is a filename in the textbox) - use JavaScript for this. Then secondly, you should always perform some logic before actually attempting the upload such as checking to see that it has a file extension etc etc. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php