PHP Classes
elePHPant
Icontem

Create ZIP File: Create ZIP file archives and serve for download

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (38)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-03-13 (7 years ago) RSS 2.0 feedStarStarStar 58%Total: 27,722 All time: 18 This week: 609Down
Version License PHP version Categories
createzipfile 1.0.0Free for non-comm...5Files and Folders, Compression
Description Author

This class can create ZIP archives from lists of files.

The class provides means to add individual files or whole directories to the list of files packed into a ZIP archive.

The class can generate the packed archive as a string value.

The class can also output the necessary request response headers to serve the generated ZIP archive for download.

The supplied example demonstrates how to use the class to store the ZIP archive in a file, serve it for download and delete the file after it is served.

  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 52 packages by
Country: India India
Age: 39
All time rank: 21 in India India
Week rank: 23 Down6 in India India Down
Innovation award
Innovation award
Nominee: 14x

Winner: 3x

  Files folder image Files  
File Role Description
Plain text file CreateZipFile.inc.php Class Create a Zip File on the fly
Plain text file CreateZipFileMac.zip.php Class Create a Zip File on the fly for Mac users
Accessible without login Plain text file exampleScript.php Example Example file

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:27,722
This week:0
All time:18
This week:609Down
User Ratings User Comments (8)
 All time
Utility:84%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1485
 
this is the perfect class, if your hoster wont allow you to u...
6 years ago (mafmaf)
70%StarStarStarStar
Useful thingummy.
7 years ago (Fox)
70%StarStarStarStar
I love that you've developed a way to zip up files/directorie...
7 years ago (george davidson)
45%StarStarStar
Excellent class! Works great!
8 years ago (Nathan Shackles)
70%StarStarStarStar
The class file was good.
8 years ago (venkatachalam ravindran)
65%StarStarStarStar
another indian-style code.
8 years ago (Nick Lavrov)
7%Star
This is a great little class and is extremely useful.
8 years ago (Kevin Jones)
57%StarStarStar
It doesn't work.
9 years ago (Dave Pedu)
10%Star