|  | Posted by Philip Hallstrom on 06/16/05 19:04 
> I am in need of a PHP class or script or something that will allow me to> designate a group of files to be zipped up, including PDF files,
 > automagically. It must be compatible with WinZip as that is what the
 > user will have access to. I have tried several things, a couple of
 > classes, and some other tricks to no avail. There seems to be an issue
 > with PDF's that I cannot figure out. The files are usually 1 byte too
 > short when you try to open them after unzipping them, and are therefore
 > corrupt.
 >
 > If anyone is aware of something would you please let me know? I am even
 > willing at this point to add a couple of layers of abstraction to make
 > this work as long as the process is relatively invisible to the end
 > user. My desire is that it works like this;
 
 
 Why can't you just install zip and wrap it up in a system() call?  That's
 always worked for me...
 
 Info-ZIP's Zip
 http://www.info-zip.org/Zip.html
 
 
 >
 > User clicks link
 > [start automagic stuff]
 > *whirring* //determine which files should go into archive
 > *clicking* //put files in archive
 > [/end automagic stuff]
 > User presented with dialog box to save archive
 >
 > Any and all clues are appreciated.
 >
 > --
 > PHP General Mailing List (http://www.php.net/)
 > To unsubscribe, visit: http://www.php.net/unsub.php
 >
  Navigation: [Reply to this message] |