Any luck? I started playing with it but then ran into the fact that we don't have the gz functions compiled into our PHP. Before I really dug in, thought I'd check whether you got it working.
miguel On Tue, 7 May 2002, Steven Walker wrote: > Miguel, > > That is very nice of you! I found the zip class on the Zend website: > http://www.zend.com/codex.php?id=696&single=1 > > and here is an article pertaining to zip file creation: > http://www.zend.com/zend/spotlight/creating-zip-files3.php > > When I try to open the php created zip file with Stuffit Expander, I get > the following message: > "Unknown zip header format encountered. This operation cannot > continue." > > However, Zipit opens the archive fine. If I resave the archive from > Zipit, then Stuffit will read it without error. So far I have compared > the two files (the one created by php, and the one saved from Zipit). > The basic compressed data matches, but there definitely is a difference > in header structures. > > I have downloaded the zip file format specs, but am still pulling my > hair out trying to figure out what all the different parts are. I am not > accustomed to working with hex data, so that to is making it hard. > > I appreciate you taking the time to help! Thank you! > > Steven J. Walker > Walker Effects > www.walkereffects.com > [EMAIL PROTECTED] > > On Tuesday, May 7, 2002, at 12:39 PM, Miguel Cruz wrote: > > > Is it possible it's just a MIME type thing? Let me know how to find the > > class you're using and I'll try to play with it this afternoon. > > > > miguel > > > > On Tue, 7 May 2002, Steven Walker wrote: > >> You are right. I am testing this out now using a zip class I got > >> through > >> the Zend website. However, Stuffit Expander does not like the zip files > >> created by php. I am able to open the zip archive through Zipit just > >> fine, and Stuffit Expander opens the Zipit files ok. So now I am trying > >> to figure out how to modify the php zip class to make a zip archive > >> that > >> Stuffit will read. > >> > >> Any thoughts? > >> > >> > >> On Tuesday, May 7, 2002, at 11:39 AM, Miguel Cruz wrote: > >> > >>> On Tue, 7 May 2002, Steven Walker wrote: > >>>> Does anyone know a way to download multiple files with a php > >>>> script? I > >>>> have 26 software products that can be purchased individually and I > >>>> want > >>>> to make the download process easier. I have looked into dynamically > >>>> creating zip files, but it is problematic for Mac users (which > >>>> account > >>>> for a large part of my user base). > >>> > >>> Are you sure it's a problem for your Mac users? Stuffit Expander, > >>> which > >>> has come with all Macs for a while now and which is pretty much an > >>> essential tool for everyone, handles zip files just fine. > >>> > >>> miguel > >>> > >>> > >>> -- > >>> 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