PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 350 All time: 6,997 This week: 455Up
Version License PHP version Categories
file-mime-convert 0.1Free To Use But R...5PHP 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 Ming Choi
Name: Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Innovation award
Innovation award
Nominee: 3x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:350
This week:0
All time:6,997
This week:455Up