mime_content_type
(PHP 4 >= 4.3.0, PHP 5)
mime_content_type -- ファイルのMIME Content-typeを検出する
説明
string
mime_content_type ( string filename)
magic.mimeファイルの情報を用いて定義することに
より、ファイルのMIME content typeを返します。
Content typeはMIME形式で返され、
text/plain または
application/octet-streamのようになります。