PHP Classes

MIME Types: Class for retrieving MIME types and extensions.

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 3,122 All time: 1,152 This week: 274Up
Version License Categories
mime_types 1.0.0GNU General Publi...Files and Folders
Description Author

This class allows you to:
- Retrieve the appropriate MIME type of a file (based on it's extension, or by utilising the file command to guess it based on the file contents).
- Retrieve extension(s) associated with a MIME type.
- Load MIME types and extensions from a mime.types file.

Picture of Keyvan Minoukadeh
Name: Keyvan Minoukadeh <contact>
Classes: 10 packages by
Country: United Kingdom
Age: ???
All time rank: 553 in United Kingdom
Week rank: 560 Down26 in United Kingdom Down

  Files folder image Files  
File Role Description
Files folder imagedoc (2 files)
Files folder imagetest (2 files)
Plain text file Mime_Types.php Class Main class

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file Mime_Types.html Doc. API Doc
  Plain text file stylesheet.css Data CSS file for API Doc

  Files folder image Files  /  test  
File Role Description
  Plain text file mime.types Data sample mime.types file
  Plain text file test_Mime_Types.php Test test script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,152
This week:274Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.