mime magic & MS word docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux