PHP Classes
elePHPant
Icontem

File: sample1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sext  >  PHPZip  >  sample1.php  >  Download  
File: sample1.php
Role: Example script
Content type: text/plain
Description: Put all files in current directory(include subdirectories) in ZIP archive
Class: PHPZip
Makes zip archive
Author: By
Last change: Fixed some bugs
Date: 12 years ago
Size: 167 bytes
 

Contents

Class file image Download
<?
   
# Put all files in current directory(include subdirectories) in ZIP archive

   
require("phpzip.inc.php");

   
$z = new PHPZip();
   
$z -> Zip("", "out1.zip");
?>