PHP Classes

File: sample1.php

Recommend this page to a friend!
  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: 21 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");
?>