<cfif isDefined("form.image") and len(form.image)>
<cffile action=""> </cfif>
-joe
----- Original Message -----
From: Milan Mushran <[EMAIL PROTECTED]>
Date: Fri, 25 Jun 2004 09:53:01 -0700 (PDT)
Subject: RE: Image Issue
To: CF-Talk <[EMAIL PROTECTED]>
Basically, I do not want to upload a file if the user did not select
an image on the form page and was just trying to update some text
instead. So, How do I check for the existence of an image before file
upload.
Thanks a ton,
Milan
[EMAIL PROTECTED] wrote:
I think what he means is there a way to check for the existence of that file
FileExists
-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 10:55 AM
To: CF-Talk
Subject: RE: Image Issue
<cfif IsDefined("form.field") AND Len(form.field)>
> -----Original Message-----
> From: Milan Mushran [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 25 juni 2004 17:51
> To: CF-Talk
> Subject: Image Issue
>
> Hi Guys,
>
> When I try to upload an image using cffile, How do I check
> for an existence of an image on the action page. For regular
> form fields, we use IsDefined(), but what about for input type = file.
>
> Thanks a ton,
> Milan
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
>
>
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]