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: 606 All time: 5,118 This week: 350Up
Version License PHP version Categories
download-2 1.0The PHP License5.0PHP 5, Statistics, Files and Folders
Description Author

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: 49
All time rank: 59038 in Germany Germany
Week rank: 238 Up10 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  
 0%
Total:606
This week:0
All time:5,118
This week:350Up
For more information send a message to info at phpclasses dot org.