PHP Classes

File: Example3.php

Recommend this page to a friend!
  Classes of Ijon Tichy   Zipek PHP ZipArchive Unzip and Zip files   Example3.php   Download  
File: Example3.php
Role: Example script
Content type: text/plain
Description: #this is example extract files and folders from zip file
Class: Zipek PHP ZipArchive Unzip and Zip files
Compress or decompress zip files using ZipArchive
Author: By
Last change:
Date: 5 years ago
Size: 525 bytes
 

Contents

Class file image Download
<?php #this is example extract files and folders from zip file

//-------------------------------------------------------------------------------
// Before using this example please run example1
//-------------------------------------------------------------------------------

require_once("Zipek.class.php");

$where2Save = 'tuZapisz';
$fName = 'letAllBeingsBeHappy.zip';

$zip = new Zipek($where2Save.'/'.$fName,false);
$zip->openfile();
$zip->unpack2folder($where2Save);
$zip->showStatus();
$zip->make();