[imp] Mime (magic) trouble (HEAD)
Jan Kuipers
jrkuipers at lauwerscollege.nl
Fri Apr 2 15:24:39 PST 2004
Citeren Jan Schneider <jan at horde.org>:
> I thought this might be related to my recent changes to Magic.php, but I
> can't reproduce this, neither with nor without the mime-magic extension.
>
> In any case it looks like a broken mime-magic extension. Check that you
> specified an existing magic.mime file when compiling and PHP and that this
> is not broken/outdated.
It's not horde/imp related. I found that the mime_content_type()
function in PHP
always returns text/plain when I use it on a file with an unknown
content_type.
I don't know why. For now I don't use the mime-magic extension anymore.
--
Jan Kuipers
Systeembeheer Lauwers College
----------------------------------------------------------------
DISCLAIMER
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version.
More information about the imp
mailing list