|
| |||||||||
| Tags: internet explorer, mime |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| MIME type detection in Internet Explorer
I am now trying to code to detect the MIME types of a client on his machine. I am assuming that the client must be using Internet Explorer and so the code would be IE specific. What is the best method to know the MIME type of a user having Internet Explorer? Do you know any similar way to obtain this information? |
|
#2
| ||||
| ||||
| Re: MIME type detection in Internet Explorer
The purpose of MIME type detection, or data sniffing, is to determine the MIME type of downloaded content using information from the following four sources:
__________________ The FIFA Manager 2009 PC Game |
|
#3
| ||||
| ||||
| Re: MIME type detection in Internet Explorer
Internet Explorer already have the feature to detect MIME type from file on server sending to browser by using FindMimeFromData method. While uploading files from the client computer to the Web server, IE uses FindMimeFromData to determine a MIME type. FindMimeFromData returns a hard-coded values from its list of Known MIME Types rather than relying on the MIME type value associated with the file extension in the system registry.
__________________ Grand Theft Auto 4 PC Video Game |
|
#4
| ||||
| ||||
| Re: MIME type detection in Internet Explorer
You can even try out Drupal's MimeDetect to detect the MIME type. MimeDetect provides an API for consistent server side mime detection using the PHP FileInfo extension, the UNIX 'file' command, user supplied mime data, or file extension lookups. It is distributed with it's own magic library for use with the PHP FileInfo extension to make mime detection more consistent in different environments. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "MIME type detection in Internet Explorer" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mime Type for swf | marcman | Windows Software | 4 | 3 Days Ago 05:38 PM |
| Content Type | Mime Type for Office 2010 file format and extension | ramsun | Tips & Tweaks | 1 | 16-08-2010 06:25 PM |
| Content Type | Mime Type for Office 2007 file format and extension | D_chapple | Tips & Tweaks | 1 | 16-08-2010 05:44 PM |
| Change mime type and file extensions through gpo's | Harald Thiel (RTL-Television) | Active Directory | 2 | 13-10-2009 07:59 PM |
| Changing MIME's type in Windows Vista | Hierome Gautier | Vista Help | 7 | 26-12-2008 03:54 AM |