Freelance Web Developer

Mar 23, 2010

Zip with Php

Every time when you search for the code "How to create zip file with php" OR "Zipping with Php", You will easily found a class or a long code snippet. I think If your are searching for the basic idea, You are at right place.


$zip = new ZipArchive();
// use ZIPARCHIVE::OVERWRITE if you want to owerwrite files
// add file names, comma separated


If anything helps, feel free to buy me a beer.

By :