CcCounter homepage
Homepage Download page Demo page Support  
General Informations
CcCounter is a php counter that doesn't require any database or language knowledge.
Informations are stored on flat text files, and they are processed by a php script (index.php) to visualize statistics about page counts, browsers, operating systems, and countries of the people that visited your site. These informations are available for each month, too.


Characteristics
  • Number of visitors for each page you want to be counted
  • Easy to set-up: just add one php code line to each page.
  • Statistics page with informations about:
    • Browsers
    • Operating Systems
    • Countries
  • Possibility to add more countries to the countries list
  • Monthly statistics (informations mentioned above are available for each month)
  • Easy to update without any loss of informations
  • Stable and deeply tested


Installation
CcCounted is very simple to use, however, if you don't know anything about php you can view this Step-by-Step Installation Guide. If you are a little experienced, the following guide will be sufficient.
Upload to your web space the whole folder cccounter/ you found in the package, and include in the php pages you want to be counted the following line:
  • <?php include "cccounter/counter.php";?>
This line will be replaced, when php will be processed, by the following one: To modify the output line, edit config.php.
Make sure to upload the folder cccounter/ to the same directory of the pages you want to count! Otherwise, edit the previous line to point to the right directory.
If you want, you can edit config.php file to change appearance and basic working (eg. max temporary file size).
Then, open index.php (or click on "View usage statistics", from every page you have counted) to display the informations mentioned in the previous section.
To erase all informations, simply delete data/ directory.


Adding more countries
If you country is not listed, or you simply want to add more countries to the list, upload in the cccounter/ directory you've already uploaded the file "add_country.php" you can find in the package, under country_adder/ directory. Then, open it with your preferred browser and follow the instructions. It is very recommended you delete the file after usage!


Upgrading from previous versions
Update is possible only from version 2.x.
The procedure is very easy: simply replace ALL files in directory cccounter/ except data/ directory with the files of the new version. If you have modified config.php file, report changes in the new config file.



Requirements
  • Php 4
  • NO DATABASE REQUIRED (MySql, ...)


License
CcCounter is under GPL license. Sources can be freely distributed, and usage is totally free.
If you modify (read: improve) the script, let me know: programmers are welcomed, beta testers too.


Support
Support should not be necessary; however you can contact me at
  • cicoandcico[at]cicoandcico.com
  • by signing the guestbook in my site (preferred) at http://www.cicoandcico.com/guestbook/sign.php


Changelog
  • 2.0b (19-11-2004) IP Blocking and control of deleted files features added.
  • 2.0a (12-11-2004) Bugfix release.
  • Final Release (6-11-2004) Bugfixes, add_country.php file, improved visualization, README updated.
  • RC1 (30-10-2004) Security update, customization improved, visualization update, newbies guide and bugfixes.
  • Beta 3 (20-10-2004) Some performance improvements; some bugfixes and optimization in detect_func.php; easy update
  • Beta 2 (17-10-2004) Some bugfixes that afflicted beta 1 release; country resoluction improved again
  • Beta 1 (16-10-2004) First beta release: Several bugfixes; visualization improvements; country resoluction improved
  • Alpha 3 (8-10-2004) HTML help file - security update
  • Alpha 2 (2-10-2004) index.php improved - some bugfixes
  • Alpha 1 (30-9-2004) first alpha release

Valid HTML 4.01! Valid CSS!