Switch to German Guide   Switch to English Guide   Switch to Dutch Guide
Quick Start Anleitung

Welcome to PHP-Web-Statistik!

Thank You for choosing our stat script.

This quick manual will show you how to run the stat properly and you will get inside the tech aspect of the script.

The whole script is realized in PHP and the tech behind it you can read in the following:

Every site that should be tracked, gets the same single lined Javascript. By visiting such a site, the javascript will be interpreted and will call by itself the pixel.php which will then execute a few lines of javascript within the browser to get all information about the visiting user. The so called lines of javascript send all these information back to the pixel.php. The pixel.php will send analyze all these information and will save them in the logfile.

To reduce the size of the logfile, the pixel.php takes a few pattern files to check if the desired information of the visitor has been logged before. If so, the pixel.php just takes the key of this read entry and saves this key to the logfile. So we can reduce the size of the whole logfile. You can look into the pattern files if you open the folder "log".

If you want, you can give a name to every visited site in the pattern file "config/pattern_site_name.inc".

Another aspect of performance is the saving function of all visitors of the logfile to a cached version. So if you call the stat.php in your browser, only the last entries will be parsed.