Re: [PHP] Problems with Zip+IE6
- From: ceo@xxxxxxxxx ("Richard Lynch")
- Date: Fri, 15 Dec 2006 22:53:04 -0600 (CST)
On Tue, December 12, 2006 4:34 am, Javier Ruiz wrote:
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 :(
It does matter on real browsers...
Use the correct content type for a download: application/octet-stream
thanks again Richard for the answer and for the article :)
anybody with a miracle for the ZIP+IE problem??
You're going to HAVE to open the Zip file with some kind of unzip
application such as WinZip, pkunzip, or, possibly, that goofball
Windows unzip thingie that lets you pretend zip archives are
directories, even though they aren't, but only up to a certain point,
as you can't do some things with files in the zip archive that you can
do with normal files, so it's just a very confusing Human Interface...
Sort of like Windows in a microcosm.
If you were hoping that somehow IE would magically unzip the item, and
then let you open the contents within the zip file with a chosen
application... Even MS Windows isn't THAT stupid. Yet.
What if there are 2 things in the zip archive?
For that matter, if there aren't 2 things, why is it even zipped?
1 - To change the mimetype (when writting http headers) from"application/x-zip-compressed"
"application/zip" that I used before to
2 - To not use MOD_DEFLATE in apache2 (I was not using it
really...)
I now am beginning to wonder if you are trying to send your HTML as
gzip'ed data for the browser to surf to your site, to save on
bandwidth... If so, none of the above has any bearing on this at
all...
--
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?
.
- References:
- Problems with Zip+IE6
- From: "Javier Ruiz"
- Re: [PHP] Problems with Zip+IE6
- From: "Richard Lynch"
- Re: [PHP] Problems with Zip+IE6
- From: "Javier Ruiz"
- Problems with Zip+IE6
- Prev by Date: Re: [PHP] POST in Apache server
- Next by Date: Re: [PHP] POST in Apache server
- Previous by thread: Re: [PHP] Problems with Zip+IE6
- Next by thread: Fwd: [PHP] Problems with Zip+IE6
- Index(es):
Relevant Pages
|