PHP Mime Type Class 1.0 (Default branch)

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.

More...