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]
- Image Issue Milan Mushran
- RE: Image Issue Pascal Peters
- RE: Image Issue Dave Watts
- RE: Image Issue Greg.Morphis
- Re: Image Issue Milan Mushran
- Re: Image Issue Joe Rinehart
- Re: Image Issue Jordan Michaels
- Re: Image Issue Aaron Rouse
- Re: Image Issue Milan Mushran
- RE: Image Issue Douglas.Knudsen
- RE: Image Issue Burns, John D
- RE: Image Issue Dave Watts
- RE: Image Issue Douglas.Knudsen
- RE: Image Issue Dave Watts
- RE: Image Issue Dave Watts