-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 2:31 PM
To: CF-Talk
Subject: RE: Image Issue

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

Does this depend on the file extension at all? So, if I upload a gif that I renamed to foo.jpg, the browser will send what mime info, gif or jpg?  


Doug

******************************************************************************************
The information contained in this message, including attachments, may contain
privileged or confidential information that is intended to be delivered only to the
person identified above. If you are not the intended recipient, or the person
responsible for delivering this message to the intended recipient, ALLTEL requests
that you immediately notify the sender and asks that you do not read the message or its
attachments, and that you delete them without copying or sending them to anyone else.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to