/*********************************************************************/
/*                          Cccounter 2.0b                           */
/*  Written by Emanuele Guadagnoli - cicoandcico[at]cicoandcico.com  */
/*      Reference page: http://www.cicoandcico.com/products.php      */
/*********************************************************************/

     IMPORTANT: HTML README file is more complete and updated.

************************** 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.

********************************* USAGE *******************************
CcCounted is very simple to use: simply upload to your web space the 
whole directory 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";?>

assuming cccounter folder is in 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).
To erase all informations, simply delete data/ directory.

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 <code>country_adder/</code> 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 available only from version 2.x.
The procedure is very easy: simply replace ALL files in directory 
cccounter/, except data/ folder, with those of the new version. 
If you have modified config.php file, report changes in the new config
file.

***************************** REQUIREMENTS ****************************
- Linux/Unix server (should work fine also with Windows ones, but it's 
  not deeply tested). 
- 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: if work is good,
I will publish it, and I will include the author in the 
Credits section.

******************************* CREDITS *******************************
Lead Programmer: Emanuele Guadagnoli
Feedback: The HWUpgrade Forum
Beta testing: Cicoandcico.com site users

If you want to help me, please let me know. Beta testers would be 
really useful! 
Donations, of course, are welcomed. :)

******************************* 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
