|
Posted by "Rob Agar" on 06/14/05 08:52
hi all,
I was just wondering if anyone has had any success using mime_magic to
guess the content type of MS Word documents..? The extension works for
gif's & jpeg's, but mime_content_type() returns "text/plain" for Word
and Excel docs.
I'm using php 5.0.4 on Windows, and the mime.magic file that's bundled
with php. I tried switching on the mime_magic debugging. It complained
about a lot of entries in the mime.magic file, saying that they weren't
proper mime types, but not the MS document type entries AFAICS
any help much appreciated
Rob
Navigation:
[Reply to this message]
|