<? # Put all files from file list in ZIP archive require("phpzip.inc.php"); $z = new PHPZip(); # Create File List $files[]="phpzip.inc.php"; $files[]="sample1.php"; $files[]="sample2.php"; $z -> Zip($files, "out2.zip"); ?>
info at phpclasses dot org