> you can also look at
> cffile.contenttype and cffile.contentsubtype for mimetype
> stuffs.  Better than the extension.
>  
> hmm...how does CF determine this though?  anyone?

The browser sends the MIME type when it posts a file upload using
multipart/form-data. That's how the ACCEPT attribute of CFFILE works.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to