PHP Mime Type Class

Package:
PHP Mime Type Class
Summary:
Determine the MIME type of a file
Groups:
Files and Folders, PHP 5
Author:
Robert Widdick
Description:
This class can be used to determine the MIME type of a file.

If the finfo extension is available it uses it to determine the MIME type of a given file.

If the finfo extension is not available, the class extracts the file name extension and looks up in an array that associates file name extensions to MIME types.


Trackback URL for this post:

http://php-feeds.kalexandr.com/trackback/21823