Re: [PHP] Re: zip and mac safari

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

 



Using the gz compression should be fine, as most browsers are able to open pages which use this compression mechanism. The only issue might possibly be windows, but I've had problems before on that where the built in xp zip reader wasn't able to 'see' the entire contents of a zip created in winzip on a windows 2k machine.

Frankly, I'd trust the php and winzip things here, as its hardly out of the ordinary for a browser/OS to make something that only works correctly with their own software and screw testing anything else.

Thanks,
Ash
http://www.ashleysheridan.co.uk

----- Reply message -----
From: "M. Reuter" <mreuter@xxxxxx>
Date: Sun, Oct 10, 2010 01:00
Subject: [PHP] Re: zip and mac safari
To: "TR Shaw" <tshaw@xxxxxxxx>
Cc: "Nathan Rixham" <nrixham@xxxxxxxxx>, "php-general@xxxxxxxxxxxxx" <php-general@xxxxxxxxxxxxx>


Yes, certainly that is causing the problem. As I said it is only the
decompress tool in safari that has problems. But the problem is that
most Mac users who download stuff from my page will not try again, if
the build in Safari tool does not work directly. 

By now I tried:
default zip class
another zip class
zipping the directory using system call
Nothing has worked so far. Next I'll try tar.gz but am pessimistic. 

Martin.

On Sat, 2010-10-09 at 10:59 -0400, TR Shaw wrote:
> Safari has a pref not to auto open files (which IMHO is a pref that should be set). Perhaps this is causing your issues?
> 
> Tom
> 
> On Oct 9, 2010, at 10:18 AM, Martin Reuter wrote:
> 
> > It works in other browsers and it works when storing it and unzipping in a terminal on OSX. I think it is probably a safari unzipped bug (not sure what tool safari chooses to automatically unzipped without asking).
> > the weird thing is that some people report it works, so maybe they don't store directories or the use a different header for sending the file?
> > If someone has a working solution let me know.
> > 
> > Best Martin
> > 
> > On Oct 8, 2010, at 17:18, TR Shaw <tshaw@xxxxxxxx> wrote:
> > 
> >> I don't have any problem in this regard.
> >> 
> >> On Oct 8, 2010, at 11:09 AM, Nathan Rixham wrote:
> >> 
> >>> M. Reuter wrote:
> >>>> Hi,
> >>>> does anyone know how to use a php script to zip a folder (with a
> >>>> subfolder) so that safari can open it and not decompresses forever?
> >>> 
> >>> if it works in other browsers, and not in safari, then it's either a big in safari, in which case report it with an offending zip file - or it's a big in PHP / your zipping process which is handled gracefully by other browsers but not by safari, in which case report it too.
> >>> 
> >>> Best,
> >>> 
> >>> Nathan
> >>> 
> >>> -- 
> >>> PHP General Mailing List (http://www.php.net/)
> >>> To unsubscribe, visit: http://www.php.net/unsub.php
> >>> 
> >> 
> >> 
> >> -- 
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >> 
> > 
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 


-- 
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