File: /unzip.php

Description

Unzip script.

This script provides a quick and easy way to unzip the compressed containing various Midwich data feeds.

The unzip function relies on you using a unix based system with the associated compression libraries installed }

Classes defined in this file

CLASS NAME

DESCRIPTION

Include/Require Statements

Global Variables

Constants

Functions

unzip (line 56)

void unzip( string $zip_file, string $src_dir, string $extract_dir)

Unzip method.

This method copies the saource file into the same directory as where the data is to be extracted to, then it removes the original source file. It then changes to the extract directory and un-compresses the data files. Finally it removes the compressed data file in the extraction directory.

Parameters

  • string $zip_file: [$zip_file] name of the compressed data file.
  • string $src_dir: [$src_dir] location of the directory where the compressed data file is located.
  • string $extract_dir: [$extract_dir] location of the directory where the compressed data file is to be extracted to.

Info

  • access - public

Documentation generated on Thu, 15 Sep 2005 10:13:34 +0100 by phpDocumentor 1.3.0RC3