Login   Register  
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 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: 2004-10-16 02:24
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);
?>