You are here: Re: [PHP] [RE-PHRASE] PHP ZIP Class « PHP « IT news, forums, messages
Re: [PHP] [RE-PHRASE] PHP ZIP Class

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация