mime_content_type()
mime_content_type - Detect MIME Content-type for a file (deprecated)
Syntax
string mime_content_type (
string $filename)
Arguments
- filename - Path to the tested file.
Description
Returns the MIME content type for a file as determined by using information from the magic.mimefile.
Version
PHP 4.3.0, 5
Return value
Returns the content type in MIME format, like text/plainor application/octet-stream.