FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

PHP Zip => UNIX compression?

 


moejoe
Hi!

I need a class that compresses ZIP files into OS Host: UNIX.

Thanks!
kv
Searching google, I found this http://www.weberdev.com/get_example-4066.html
moejoe
Hi,

Thanks for that. However in WinRar it still says that it is DOS, however its a version 2.0 which is better. And it doesnt support adding directories, even though it says it does...?

I'm a big fan of pclZip, which is a popular php zip library.

Does anyone have a modification, or could modify it to compress into unix?
leontius
If you can execute programs in the server, you can just use the usual zip command line utility to compress the data to a temporary file.
mahirharoon
see
offical giude to unix zip by php.net - http://www.php.net/manual/en/ref.zlib.php
zip function - http://www.php.net/manual/en/ref.zip.php
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.