[thelist] how to tell if a file has been submitted for upload?

Mark Howells webdev at mountain.ch
Wed Oct 2 08:40:13 CDT 2002


> if($small_image_upload == "none")
>    {
>    // there is no image uploaded
>    }
> else
>    {
>    // there is
>    }
>

Also,

if
(is_uploaded_file($HTTP_POST_FILES['small_image_upload']['tmp_name'])){
// code for uploaded file ...
}

Regards
Mark Howells
<http://www.mark.ac/>
AIM: mhoaim




More information about the thelist mailing list