Don't have access to your server logfile? Here, you will find how to create your own logfile using PHP. It is basically a small PHP script that extracted all the appropriate environment variables, put them together as a Common Logfile Format entry and write it to a file.
This tutorial is intended for the PHP programmer interested in gathering and analyzing Website statistics in a presentable format using MySQL and PHP. It will show how to: Display number of hits by Year, Month and Week, Display the last seven Daily average hits, Display the number of visitors using a broader number of browsers and operating systems, Calculate the top ten visitors to your site and their frequency, Calculate the top ten referring sites, and Create a statistical analyzing system complete with dynamically generated numbers. It requires a moderate understanding of PHP and a limited knowledge of MySQL, including how to create a MySQL table using the MySQL client.
This is an extensive tutorial that will show how to gather and analyze Website statistics in a presentable format using mySQL and PHP. You will need a moderate understanding of PHP and a limited knowledge of mySQL, including how to create a mySQL table using the mySQL client.
This one page tutorial show you how to use PHP to display your site traffic statistics on the fly at any time. Along with its supplied PHP script, you will learn how to get access to your statistics that are continually updated, and that simultaneously support multiple sites, and multiple actions (page view, ad click, click-in, click-out, etc).
This tutorial will show you how to write your own Log Files using PHP. This tutorial shows you how to log unique visits with sessions or every single page viewed without sessions. A great introduction for writing to files, using sessions and PHP Predefined Variables.
In this continuation of the article, "Logging With PHP," the author explains how to build a PHP/MySQL-driven Web traffic logging and analysis system that can be continually updated, which provides information on what content was being viewed, browser and platforms stats, and trends over time. This system is currently being used on SourceForge.net.