You are here: mime magic & MS word docs « PHP « IT news, forums, messages
mime magic & MS word docs

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация