So it's not just me!
Try using the same "accept" value in your "<input type='file'> tag.
-David
On Monday, May 14, 2001 5:42 AM, Darren Daniel
[SMTP:[EMAIL PROTECTED]] wrote:
> I've got this piece of code to limit the the type of file that is uploaded,
> but it doesn't seem to work, it still allows you to upload files of a
> different type. Any suggestions?
>
> <cffile action="UPLOAD"
> filefield="UploadFile"
> destination="#GetTempDirectory()#"
> nameconflict="MAKEUNIQUE"
> accept="text/html">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists