Files and Folders: MIME Types
Keyvan Minoukadeh (contact me)
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.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (91.7%)
| Good (91.7%)
| Sufficient (75.0%)
| -
| Insufficient (33.3%)
| -
| Sufficient (65.8%)
| 312 |
Click here for detailed information about this class on phpclasses.org
Data
CSS file for API Doc
Data
sample mime.types file