PHP Classes

Upload and Compress: Add uploaded files to a ZIP archive

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 1,694 All time: 2,325 This week: 488Up
Version License PHP version Categories
upcom 1.0.0BSD License5.0HTML, PHP 5, Files and Folders, Compr...
Description 

Author

This class can add uploaded files to a ZIP archive.

It can generate HTML for a form to upload a file.

The class can handle the request when a file is uploaded and add it to a ZIP archive in a certain directory.

It can also generate a random file name so the uploaded file in the ZIP archive is unique, in order to avoid overwriting other files in the archive.

The class can also read the list of ZIP archives available in the upload directory, delete a ZIP archive, show a list of all files in each ZIP archive and allow to delete individual files in the archive.

Innovation Award
PHP Programming Innovation award winner
June 2011
Winner


Prize: One book of choice by Packt
When a site needs to take uploads of large files, it may be convenient to store the uploaded files in some compressed format to save disk space.

This class provides a solution to save space of uploaded files by compacting the files into ZIP archives.

Manuel Lemos
Picture of Roberto Aleman
  Performance   Level  
Name: Roberto Aleman <contact>
Classes: 19 packages by
Country: Venezuela Venezuela
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Plain text file index.php Example how to use
Plain text file upcom.php Class main class

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  
 0%
Total:1,694
This week:0
All time:2,325
This week:488Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:633