There are a number of ways to zip files with PHP. The best method depends on what your purpose is.
Are you zipping files dynamically to save space on the server, to conserve bandwidth, or to make a selection of files easier to download? Does the resulting file need to be stored on the server, or sent directly to the user as a download? And do you need to unzip dynamically as well?
Also, the most important factor is what kind of server you are using. In most cases a typical Apache server will already have everything you need installed.
http://davidwalsh.name/create-zip-php http://devzone.zend.com/article/2105 http://www.w3schools.com/php/php_ref_zip.asp
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.