 -------------------------------------------------------------------------
 AllMyStats V1.80 - Website statistics
 Copyright (C) 2008 - 2013 - Herve Seywert
 copyright-GNU-xx.txt

 Web Site: http://allmystats.wertronic.com - http://www.wertronic.com
 -------------------------------------------------------------------------
 
AllMyStats is a free php statistics script

Analyzes the traffic of your web sites in real time.
Keywords with their position, search engines and referrers, IP, reverse DNS, pages visited, number of visits,
operating system and web browser, country...

AllMyStats is light, fast and simple to use, but it will give you all information which you need really.

Documentation and how to use it: http://allmystats.wertronic.com


##############################################################################
##################### 1st INSTALLATION ######################################

To work AllMyStats requires PHP5 or higher (AllMyStats 1.80 is compatible PHP5.4) and a MySQL5 database

1 - Install a MySQL database on your hosting space (in principle it is already done)
2 - Upload the folder allmystats on your site.
3 - Enter the address where you installed allmystats ex: http://www.your_site.tld/allmystats in your browser.
4 - Follow the instructions of the Setup program.
See also: http://allmystats.wertronic.com

##############################################################################
######################## UPDATE ##############################################

UPDATE v1.70 - v1.75 to v1.80
1 - Security, make a backup of the files config_allmystats.php, application_top.php
and the directory/cache if it is present.

2. Delete the contents of the old AllMyStats directory located on the server,
--> EXCEPT the config_allmystats.php file and the directory /cache if it is present.

3 - Upload on the server, in your directory AllMyStats all files and all directories in the new version.
--> EXCEPT the /install directory

4 - In config_allmystats.php
	Remove this 2 lines: (optional, but these lines are no longer useful)
	$IpExlues = array(""); //Exclude ip ex: array ("123.117.86.38", "220.181"); 220.181  Beach 220.181.0.0 A 220.181.255.255
	$Flag_Exclus_by_IP = ""; //Flag ip exclus ex: "AllMyStats: IP non comptabilisée"; 

	For previous version to v1.74, under $display_alexa_pagerank = true ; Add these 2 lines : 
	$error_login = "5"; //Maximum number of login attempts errors 
	$nb_max_HistoRecord_log = "30"; //History Login: maximum number of records log files

	Add under $nb_max_HistoRecord_log
	$number_top_display = 40; //Number of rows displayed in the table Top visitors 

5 - In the amin, update tables
Admin menu --> Bad tab User Agent 
Admin menu --> Crawlers
----------------------------------

Versions prior to v1.70:
At the beginning of next month (Otherwise you will lose the current month's data),
after your archiving, do a complete installation of the new version.
WITHOUT removing the/cache directory.

----------------------------------

###############################################################################

NOTE:
If you can not login (still on the login page)
Unable to connect
In some host, the "sessions" folder is inside your web space must then set the path (path) for sessions
Edit the file application_top.php and add just under <? Php the following line:

session_save_path("/chemin/to directory/sessions");

Avec: /chemin/ to directory/sessions given by your web hosting
eg: session_save_path("/home/users/web/www/toto/sessions"); 

--------------------------------------------------------------------------------
Hosting in free.fr
It should create a directory "sessions" at the site root
--------------------------------------------------------------------------------

Note : for your tests, Sunbelt Personnal Firewall block $_SERVER [ 'HTTP_REFERER'] (Referers undetected),
if "Deny servers to trace navigation" if checked (default config)

--------------------------------------------------------------------------------

The key words are saved for new visitors, if a visitor comes back in the same day by a search engine 
the new keyword will not be taken into statistics.

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

