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

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum (38)   Blog    
Ratings Unique User Downloads Download Rankings
58%Total: 27,901 This week: 1All time: 17 This week: 255
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.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 53 packages by
Country: India India
Age: 41
All time rank: 21 in India India
Week rank: 18 3 in India India
Innovation award
Innovation award
Nominee: 14x

Winner: 3x

  Files  
File Role Description
CreateZipFile.inc.php Class Create a Zip File on the fly
CreateZipFileMac.zip.php Class Create a Zip File on the fly for Mac users
exampleScript.php Example Example file

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

For more information send a message to info at phpclasses dot org.