Login   Register  
PHP Classes
elePHPant
Icontem

Upload and Compress: Add uploaded files to a ZIP archive

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-06-17 (3 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,522 This week: 2All time: 2,371 This week: 887Up
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
Name: Roberto Aleman <contact>
Classes: 14 packages by
Country: Venezuela Venezuela
Age: 40
All time rank: 1561 in Venezuela Venezuela
Week rank: 115 Up1 in Venezuela Venezuela Equal
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,522All time:2,371
 This week:2This week:887Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:220