Re: [PHP] Problems with Zip+IE6



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 <ceo@xxxxxxxxx> 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?




Relevant Pages

  • Fwd: Problems with Zip+IE6
    ... I have a problem with zip files and Internet Explorer 6. ... It works fine when downloading ... Does anybody know any way to workaround this problem? ... - To change the mimetype (when writting http headers) from ...
    (php.general)
  • Re: Why authentication before opening a document in document libra
    ... \par As for workaround 1, the side effect is that you will lose the ability to use the WebDAV folder such as opening document library in Explorer View. ... \par Microsoft Global Technical Support Center ... Add a fake proxy server and port in Internet Explorer settings ... Input a fake proxy server address and a fake port. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Invalid page fault in KERNEL32.DDL
    ... Internet Explorer closes. ... Should I try downloading IE 6.1 to the desktop, ... Try disabling download scan and live update and see if the invalid page faults disappear. ... Invalid Page Fault Errors Occur in Windows ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Cant install downloaded patch
    ... AOL browser and launch Internet Explorer, ... "Install stops at 0% when using the AOL Browser" ... While using the Internet Explorer browser, try downloading ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Uninstalling TM Internet Security
    ... when I switch iton agan. ... A problem with downloading anything to the computer with the problems ... connection ligt on the router flashes and I can't connect. ... Email and internet explorer won't connect. ...
    (alt.comp.anti-virus)