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,129 All time: 1,156 This week: 488Up
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: 574 in United Kingdom
Week rank: 360 Down17 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  
 0%
Total:3,129
This week:0
All time:1,156
This week:488Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:33%StarStar
Videos:-
Overall:65%StarStarStarStar
Rank:590