Simple Download Counter

Last Update
23 November 2010
Regular License
$3
Sales
231

Simple Download Counter

Simple Download Counter allows you to track and display the number of times a file has been downloaded without the use of a MySQL database. Ideal if you offer file downloads on your website. It is able to count the downloads for an unlimited number of files.

Simply specify your downloads directory, a directory for the counter files to be placed in and the list of files you are allowing for download (any filetype permitted) and the script takes care of the rest. Every file that gets downloaded will automatically get a counter file created for it, this file then counts the number of times a file has been downloaded.

If the specified file does not exist, a custom error page is displayed.

If the specified file is not in the list of files allowed to be downloaded, a custom error page is displayed.

If the specified file has reached a specified (optional) download limit, a custom error page is displayed.

All of the code is extensively commented and should (i hope!) be easy enough to modify. It is styled entirely by CSS which should make it easy to style to fit your website design.

My Complete Script Portfolio