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
> if($_FILES)
> {
> if(isset($_FILES['file_upload']) &&
> $_FILES['file_upload']['name'] !="") {
>
> ..
> Any ideas or suggestions?
>
> Thanks,
> Ron
Have you tried:
If (isset ($_FILES))
Is only a guess though.
HTH,
Mikey
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,