Re: Problems with Zip+IE6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/zip" that I used before to
>> "application/x-zip-compressed"
>> >    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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux