Location: PHPKode > scripts > ZipLib 2 > ziplib-2/ziper.php
<?
include("zip.lib.php");
$ziper = new zipfile();
$ziper->addFiles(array("m.pdf","file.png"));
$ziper->output("zip2.zip");
?>
Return current item: ZipLib 2