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">

Darren Daniel
Producer
------------------------------------------------------------------ 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Ph: +44 (0) 20 7387 8890 
------------------------------------------------------------------ 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Ph: +64 (0) 9 419 4235 

The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to