mime_magic MIME type detection using magic numbers hholzgra Hartmut Holzgraefe hartmut@php.net lead mime_magic tries to detect a files MIME type by testing certain byte positions against known magic numbers collected in a data file. It uses the same file format as the UNIX file program and apache mod_magic. The actual code is based on detection code from apache mod_magic which is itself an adaption of the original 'file' code. PHP beta 1.0rc1 2004-03-19 package.xml added to support intallation using pear installer