|
|
![]() |
| 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. |
![]() |
|
Tags: internet explorer, mime |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mime Type for swf | marcman | Windows Software | 4 | 10-02-2012 05:38 PM |
Content Type | Mime Type for Office 2010 file format and extension | ramsun | Tips & Tweaks | 1 | 16-08-2010 05:25 PM |
Content Type | Mime Type for Office 2007 file format and extension | D_chapple | Tips & Tweaks | 1 | 16-08-2010 04:44 PM |
Change mime type and file extensions through gpo's | DANIEL 602 | Active Directory | 2 | 13-10-2009 06:59 PM |
Could not find mime type, application/octet-stream, error in linux | Venator | Operating Systems | 4 | 19-03-2009 12:31 PM |