Page 1 of 1

Zip File Counter

Posted: Wed Feb 20, 2013 9:41 pm
by jcpd910
Script URL: n/a
Version of script: n/a
Hosting company: Doesn't matter
URL of phpinfo.php: doesn't matter
URL of session_test.php: Doesn't matter
What terms did you try when SEARCHING for a solution: CCount Zip file counter

Write your message below:

How do I count how many times a zip file has been downloaded, there is no redirect.

Also:

1. Add this code in your HTML document HEAD (paste it somewhere between <head> and </head> HTML tags):

<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>

CHANGE http://www.domain.com/ccount/display.php to the URL of display.php on your server! (I don't know what exactly I am supposed to do with this last step.)

Re: Zip File Counter

Posted: Fri Feb 22, 2013 5:12 pm
by Klemen
1. Go to CCount admin panel
2. Add a file link to be counted
3. Replace the original file link with the one CCount generates, for example
yourdomain.com/ccount/click.php?id=1

Voila!