Re: best way to determine mime type of file these days?
| From: | Per Jessen | Date: | Thu, 18 Mar 2010 15:50:04 +0000 |
| Subject: | Re: best way to determine mime type of file these days? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302965@lists.php.net to get a copy of this message | ||
tedd wrote:
> At 8:52 AM +0100 3/18/10, Per Jessen wrote:
>>Robert P. J. Day wrote:
>>
>>>
>>> i realize it sounds trivial but the online info is annoyingly
>>> recursive. there's mime_content_type(), but it's officially
>>> deprecated.
>>
>>On the manual page there is a reference to the Fileinfo PECL
>>extension:
>>
>>http://php/manual/en/ref.fileinfo.php
>
> Broken.
Sorry, that was a link to my local copy.
http://php.net/manual/en/ref.fileinfo.php
--
Per Jessen, Zürich (14.8°C)