PHP Classes

Upload and Compress: Add uploaded files to a ZIP archive

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


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

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
Age: 49
All time rank: 1391 in Venezuela Venezuela
Week rank: 101 Up1 in Venezuela Venezuela Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,325
This week:105Up
 User Ratings  
 All time