My Scripts
Click Stats
Extremely simple click script that will keep statistics of how many people clicked on a link. ClickStats is an open source script released under GPL licence v2.
How to use ClickStats
Download ClickStats
Upload
Upload all the files to the root directory of your website with ftp.
Make sure to chmod the redirectstats directory to 777.
Use
Call on the file redirect.php that will be located in the root directory, if you want to register a click.
In a standard html file use < a href="redirect.php?url=example.com" > instead of linking directly to < a href="http://www.example.com" >.
Do NOT use http:// for the redirect.
For links that do not use http (eg.: ftp or https), you can specify the protocol, with "protocol=ftp" or "protocol=https".
Example: < a href="redirect.php?protocol=ftp&url=example.com" >.
If no protocol is specified, http will be used.
Every time a new link is clicked, the script will generate the according txt file automatically if it does not yet exist.
Do not change the content of the txt files if you do not wish to mess things up.
Logs
You can check the results by surfing to the file redirectstats/stats.php.