Chris.. you are 100% correct, that took care of it.
Thanks for the help,
Bryan
-Original Message-
From: Chris Cook [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 10:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Skipping Image Upload if Filename is blank
I have had this problem before. Try to echo out
$_FILES['imagefile']['tmp_name'] when the field is blank. Then you will know
what to control for... If I recall correctly, the file name is "none" if
there is no uploaded photo. Thus, it exists and that is why the program
enters your if statement
2 matches
Mail list logo