Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (4) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
42% | Total: 1,145 This week: 1 | All time: 3,296 This week: 571 |
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 | ||
Files |
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 |
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.