X - STATISTICS 1.20 by X-Scripts
______________________________________________

TESTED OFFLINE ON: PHP 4.3.9 & MySQL 4.0.13
TESTED ONLINE ON: PHP 4.3.2 & MySQL 3.23.57

______________________________________________

TESTED ON: PHP4 & MySQL4

Version 1.20: Added X-Install to ease the process of setting up the database.

Version 1.10: Fixed a bug where only one visit was recorded each day.

Version 1.00: Finally X-Statistics is finished. I accidentally deleted it but it is here 
now. I am really pleased with how it has turned out as it has everything I have needed in 
a script of this type. As with all my scripts, I have not been able to find a statistics 
script which had all the features I needed, so I made my own.

I am most proud of the fact that the database never spirals out of control. The script 
cleverly manages to keep sizes down by emptying relative tables. At the end of the month 
the daily table is cleared, at the end of the year the months table is etc. The table 
which logs visitor IP and date of visit is cleared at the end of the day.

Why choose this?
______________________________________________

If you are a webmaster then there must have been some point when you started wondering 
how many visitors you were getting, what operating system and browser they used and where 
they came from to get to your site. If you haven't then wonder it for a minute...This is 
where X-Statistics comes along.

	* Logs the visitors (their hits and unique visits).
	* See Daily, Monthly and Yearly hits/visits.
	* Displays the data as dynamic graphs. They update themselves with every hit.
	* Operating System and Users Browser data is logged.
	* Find out how visitors came to your website when the referer is logged.
	* Space saving intelligance means your database always stays small.
	* 100% customisable visually and easy to do so too! (Just open up your HTML Editor
	  with the page you wish to edit)

Install
______________________________________________

1. Edit config.php as follows:

	$host = 'THE NAME OF THE WEBSERVER YOU ARE ON';
	$username = 'YOUR USERNAME ON THE SERVER';
	$password = 'YOUR PASSWORD ON THE SERVER';
	$db = 'THE DATABASE NAME WHERE EVERYTHING IS STORED';

If you are unsure of any then ask your host.

2. Upload all the files to your server.

3. Point your browser to install/install.php and follow the instructions to start
setting up the database tables.

4. You will also be taken to the analysis page where you can study your statistics.

5. To start utilising X-Statistics, put the following code on the top of your home page:

	<?php include ("x-statistics.php"); ?>

where the path to x-statistics.php reflects the path from the page the code is in to the
path of x-statistics.php.

Contact Us
______________________________________________

As always please tell us what you think. Good or bad, your opinions shape the way we 
produce scripts. Email us at xscripts@f2s.com with X-Poll in the subject line.

Copyright
______________________________________________

All scripts copyright of X-Scripts 2003 - 2005. If you edit my scripts please credit me 
after all it was my hard work in the first place. Also please review me at hotscripts.com
so other users can see my work - http://www.hotscripts.com/Detailed/42396.html?RID=388