damn! that's a pretty good article, thanks a lot.

unfortunatelly, it's not mentioning about zip files concretely, I didn't
find a solution for my problem with them.
I tried playing a bit with the Content-type, but it seems that Internet
Explorer doesn't really care about "Content-type"... it uses the extention
of the file to determine the type (microsoft's way...) so it doesn't matter
if I use "application/octet-stream" or even "application/force-download" or
"application/makethisdownload-or-ikillyou" :-D as long as I name the file "
whatever.zip", IE6 shows the "open with" dialog and if I use "open" with an
application, it fails :(

thanks again Richard for the answer and for the article :)

anybody with a miracle for the ZIP+IE problem??



On 12/5/06, Richard Lynch <[EMAIL PROTECTED]> wrote:

It's kinda long, but this will probably save you some grief:
http://richardlynch.blogspot.com

On Tue, December 5, 2006 2:07 am, Javier Ruiz wrote:
> Hi all!
>
> I have a problem with zip files and Internet Explorer 6. I try to send
> to
> the user a dinamically generated zip file writting the http headers
> and
> using file_put_contents for the zip content. It works fine when
> downloading
> the file with firefox, opera, etc... even it works well if I download
> the
> file with internet explorer and then open it with any zip tool. The
> problem
> comes when I try to directly open the file from the URL using IE6.
>
> I found this is a known bug of IE (several versions) in windows XP:
> http://support.microsoft.com/kb/308090
>
> Does anybody know any way to workaround this problem? I found a couple
> workarounds in forums over there and I tried them, but unfortunately
> they
> didn't work:
>    1 - To change the mimetype (when writting http headers) from
> "application/zip" that I used before to "application/x-zip-compressed"
>    2 - To not use MOD_DEFLATE in apache2 (I was not using it
> really...)
>
>
>
> Any idea??
>
> Thanks a lot!
>


--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?


Reply via email to