View Single Post
Old 12-04-2012, 01:46 AM   PM User | #1
rpcob
New to the CF scene

 
Join Date: Aug 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
rpcob is an unknown quantity at this point
Add to Download Count Click Counter

Hello,
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.
PHP Code:
addToDownloadCount($fid); 
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?

Thank you in advanced.
rpcob is offline   Reply With Quote