I have been using a script that uses a counter on the download page when it is visited. It will add 1 to the "dcount" table in my sql for the corresponding file id.
I have removed the download page and added direct links to the display page of the file. Is there a way to simply have the code activate when the download link is clicked?PHP Code:
Thank you in advanced.