/*************************************
Title: Grebulon's mod
Version: 1.1.4
Author: grebulon
Download: http://grebulon.com/software/ccount.zip
Website: http://grebulon.com
This mod adds the following features:
1. A common base can be added to all the downloaded files. This way you can just enter the file name instead of full URL. To set the base, edit the dl_base setting in settings.php. You can also leave it empty to get the previous behavior.
2. You can download files based on the file name (or url if dl_base is not set). To do this pass the file parameter to click.php like in this example:
http://mysite.com/ccount/click.php?file=my_song.mp3
3. If you try to download a file using the file argument that is not already in the counter database, it will be added automatically. That is if the file exists...
4. (new in 1.1.2) A new script view.php that only displays the counters but doesn't allow to change them.
bugfixes in 1.1.2
* Lock the database when increasing the counter and adding an entry. This prevents the database from getting corrupt when there are simultaneous clicks on a link.
* Append a newline when adding an automatic entry using file= urls.
New feature in 1.1.3
* Sort the click table based on count, link title or id.
New feature in 1.1.4
* Add an edit form where you can change link's name, url, count and date.
* Add reverse column sorting
my mod: auto click, sort, edit link and more (update 1.1.4)
Re: my mod: auto click, sort, edit link and more (update 1.1
How can I display the link click count on a website? Like there is a display feature on original version?