Login   Register  
PHP Classes
elePHPant
Icontem

File MIME Class: Determine the MIME type from a file name extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-07-09 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 341 All time: 6,258 This week: 1,420Up
Version License PHP version Categories  
file-mime-convert 0.1Free To Use But Restricted5PHP 5, Files and Folders
Description Author  

This class can be used to determine the MIME type from a file name extension and vice-versa.

It can take a given file name extension and return the associated MIME type.

The class can also do the opposite, i.e. determine the file name extension associated to a given MIME type.

Picture of Kai Ming Choi
Name: Kai Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Age: 21
All time rank: 5323 in Hong Kong Hong Kong
Week rank: 302 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file mime.class.php Class main class
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:341All time:6,258
 This week:0This week:1,420Up