PHP Classes

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 27 This week: 1All time: 11,086 This week: 571Up
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: 4 packages by
Country: Indonesia Indonesia
Age: 54
All time rank: 432473 in Indonesia Indonesia
Week rank: 420 Up7 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 2x

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  
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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:1
All time:11,086
This week:571Up