Re: [PHP] best way to determine mime type of file these days?
[email protected] (Per Jessen)
| Newsgroups | php.general |
|---|---|
| Organization | Per Jessens personal news-server |
| Message-ID | <[email protected]> |
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 -- Per Jessen, Zürich (9.1°C)