PHP Classes

File: sample1.php

Recommend this page to a friend!
  Classes of Huda M Elmatsani   Zip and File Splitter   sample1.php   Download  
File: sample1.php
Role: Example script
Content type: text/plain
Description: simple sample
Class: Zip and File Splitter
Zip & split large file into smaller parts.
Author: By
Last change: how to use new class.easyzip.php, class that replaces filesplitter.
Date: 20 years ago
Size: 237 bytes
 

Contents

Class file image Download
<?

   
require("class.easyzip.php");

   
$z = new EasyZIP;
   
$z -> addFile("peta.bmp");

   
$z -> addFile("access.mdb");
   
$z -> addFile("guide.pdf");
   
   
//$z -> zipFile("package.zip");
   
$z -> splitFile("split_pack.zip", 1048576);
?>