Hello, it is only for your knowledge, or you want the public knows ?
I use for myself this tool, as you can have both situations:
There you have the instructions:
- Download CCounter 2.0 from the official website at phpjunkyard.com. Unzip the file to a folder named, for example,
- Upload the folder to your website via FTP or similar. And uploaded the folder to
- Use your browser to open the folder you just uploaded. In the example, go to
- Follow the installation steps that appear. Don’t forget to delete the folder named
To set up a counter for a specific file:
- Upload your file to your website and copy the url, for example:
- Go to CCounter’s admin console by visiting its main folder on the browser. Following the example, open the URL
www.your-domain.com/assets/downloadmanager and login.
- Open the New link page and submit your chosen link as a new link. Paste the URL of your file.
- After the URL is submitted, a special tracking URL is generated by CCount, for example
Every time you want to provide a link to your file (
<a href="..."> ) use the URL generated by CCount (e.g.
www.your-domain.com/ccount/click.php?id=123 ). When a visitor clicks that URL, CCount will count the click and redirect the visitor to where the real file is (e.g.
To show the number of clicks or downloads of a file you need to:
- Place the following code inside the
<head> tag of the webpage where you want to display count statistics:
- Paste the next snippet exactly where you want the count to appear:
<script>ccount_display('LINK_ID')</script> , e.g.
Hope it will help you…