Forum Moderators: coopster

Message Too Old, No Replies

How to count downloads?

         

Awful newbie

10:35 am on May 18, 2007 (gmt 0)

10+ Year Member



I have a script which stores binary files and metadata i mysql. The files are downloadable by clicking on their name in the output. Is it possible to count the number of download on each file? Matters worse: Files are stored in four categories and each category might have the same file name but different content.

ahmedtheking

12:56 pm on May 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Create a script that handles a file ID and category ID then redirects to the file for the user to begin downloading. This script can then add this data into a DB and you can track your downloads.

[edited by: eelixduppy at 1:08 pm (utc) on May 18, 2007]
[edit reason] removed url - see sticky [/edit]