PHP Classes

PHP Extract Zip File: List and extract Zip files to a selected directory

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 27 All time: 11,177 This week: 81Up
Version License PHP version Categories
extract-files 1.0GNU General Publi...5PHP 5, Files and Folders, Compression, G...
Description 

Author

This package can list and extract Zip files to a selected directory.

It provides a Web page script that can show a form in the .zip files in the current server-side directory and the existing list of directories.

The script can extract the .zip file into the directory selected by the user.

Picture of Joko Prasetyo
  Performance   Level  
Name: Joko Prasetyo <contact>
Classes: 5 packages by
Country: Indonesia Indonesia
Age: 54
All time rank: 432373 in Indonesia Indonesia
Week rank: 170 Up5 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 3x

Documentation

PHP Extract Files using PHP function ZipArchive.

If the directory there are some zip or gz file extension, you can select the file you want extracted into the specified directory.

You can edited at this line following:

        if (pathinfo($filename, PATHINFO_EXTENSION) === 'zip' || pathinfo($filename, PATHINFO_EXTENSION) === 'gz') {

All files and scripts under licenses ( GNU GPL v2 or later).


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file extract-files.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:0
All time:11,177
This week:81Up