PHP Classes

Download 2: Serve files for download and count them with files

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 610 All time: 5,128 This week: 114Up
Version License PHP version Categories
download-2 1.0The PHP License5.0PHP 5, Statistics, Files and Folders


This class serve files for download and count downloads using files.

It can serve a given files for download automatically determining the content type based on the file name extension.

The class also track the number of times each file is downloaded using text files to store the download count.

It can also retrieve the list of files that were downloaded and the respective download count numbers.

Picture of Marko Schulz
Name: Marko Schulz <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 51
All time rank: 58938 in Germany Germany
Week rank: 398 Up18 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file download.class.php Class This class can used to handle file downloads.
Accessible without login Plain text file download.php Example Example file for class Download

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,128
This week:114Up