Stupid IE???

Today, a colleague asked me: “how to download file with docx extension (MS Word 2007) in IE6?” because IE automatic changes the .docx to .zip. I thought to solve this problem very easy by directly link download but I’m wrong :( It seems a IE bug??? So I recommend him that he should use PHP header to output binary content of file.

IE handle stupid or smart in this case?

[Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
This entry was posted in Linh tinh and tagged . Bookmark the permalink.

2 Responses to Stupid IE???

  1. mrphuc says:

    i ever this trouble when i want download 1 file by redirect to that file but with IE docx will change it to .Zip
    Solution you change htaccess in folder where have file to download :
    file .htaccess:
    AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

    ok => IE will download right file docx

  2. Oh, he is the man I mentioned in this article :D
    So basicly additional line below into .htacess to make sure IE can download right file:
    AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

    But if server not allow to set from .htaccess???

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA image
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>