FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Related topics
Including With PHP
PHP: Feedback form issues.. help =P
Ip Banning Using Php
I have a question about php configuration
php script in php nuke - need help!
PHP Navigation
error in my PHP script
PHP Tutorial: Basic Shoutbox w/ MySQL
What for <script type="text/php"> is used?
great asp and PHP programming software
PHP issues >.>
<?php session_start(); ?> on Every Page
PHP Unzip
Advice on switching OS [Windows --> UNIX? Linux?]
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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