| Recommend this page to a friend! | 
|  Download | 
| Info | Screenshots |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
|    42% | Total: 1,145 | All time:  3,299 This week: 488  | ||||
| Version | Licenses | PHP version | Categories | |||
| phpmimetypeclass 1.0 | Free For Educatio... | 5.0 | PHP 5, Files and Folders | 
| Description | Author | ||||||||||||||||||||||
| This class can be used to determine the MIME type of a file. | 
 | ||||||||||||||||||||||
| Screenshots (1) | ||
|  Files (5) | 
| File | Role | Description | 
|---|---|---|
|  class.mime.php | Class | This is a PHP 5 class for attempting to detect the MIME type of a file. Uses FINFO (if available), a pre-defined MIME list, mime_content_type() or defaults to "application/octet-stream" for unknown types. | 
|  class.types.php | Conf. | This includes the robust array of mime types | 
|  example.php | Example | An example of how to list all files in a directory and display its name, size and MIME type | 
|  LICENSE.txt | Lic. | The GNU GPL License | 
| 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 | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 0% | 
 | 
 | 
| User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
| 
 | 
 | ||||||||||||||||||||||||||||||||||
| Applications that use this package | 
| PHP 5 Required | 
| Apache 2+ Required | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.