Returns the MIME content type for a file as determined by using
information from the
This function has been deprecated as the PECL extension Fileinfo provides the same functionality (and more) in a much cleaner way.
echo mime_content_type('php.gif') . "\n";
The above example will output:
|Fileinfo for a replacement|