Re: best way to determine mime type of file these days?
| From: | tedd | Date: | Thu, 18 Mar 2010 15:42:14 +0000 |
| Subject: | Re: best way to determine mime type of file these days? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302963@lists.php.net to get a copy of this message | ||
At 8:52 AM +0100 3/18/10, Per Jessen wrote:
Robert P. J. Day wrote:Broken. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comi 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