Reply to Re: mime type still reported?

Your name:

Reply:


Posted by Jim Higson on 04/17/06 13:39

Ken Williams wrote:

> I have a web page with a file upload form.
>
> Does IE still report "application/vnd.ms-excel" for excel files
> (file.xls) even if excel has not been installed on the computer yet? Or
> does it get reported as application/octet-stream or whatever.

You probably shouldn't trust the MIME type the server sends for security
reasons anyway. The mimemagic module in Apache can be used to get the type
by looking at the contents of the file.

[Back to original 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

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