note 24073 deleted from function.mime-content-type by nlopess
| From: | nlopess@php.net | Date: | Sat, 03 Jan 2004 10:12:58 +0000 |
| Subject: | note 24073 deleted from function.mime-content-type by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62848@lists.php.net to get a copy of this message | ||
Note Submitter: "Matt" matt at askmenoquestions co uk
----
On Unix systems, you could work around this by using the file(1) command via system, if you're
allowed...
It outputs the mimetype to stdout, based on magic bytes, rather than just looking at the extension
(like Windows does)