Hi,

I'm using <CFFILE> command's UPLOAD action to upload photographs.In order to
restrict the users from uploading files other than gif's or jpeg's, i used
the ACCEPT attribute ie.

<cffile action="upload" destnation="c:\temp"....
accept="images/gif, images/jpeg"....>

But now what is happening is that even if I give an html file or an exe file
to upload,it accepts & that file is stored in the destination directory.

Please give me a solution to this problem.

-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to