PHP HTTP LOG
PHP HTTP LOG is PHP script that log
your website visits in NCSA extended/combined log format, same as Apache
http logs format. It means that your visit logs can be download and
analyze by website log analyze software on your PC.
This script is easy to install and do not need database.
Download
Install Step:
1 Create a directory named 'stat'
2 Copy stat.js and stat.php to this directory
3 Insert such code on your html or php page->
<script language="Javascript">
var stat_url = "http://www.yourdomain.com/stat";
</script>
<script language="Javascript" src="http://www.yourdomain.com/stat/stat.js"></script>
About NCSA extended/combined log format:
The format of standard apache http log is: "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-agent}i\""
More conten of Log format can be found at http://httpd.apache.org/docs/mod/mod_log_config.html
กก