Making usage statistics on a web site is one of the most enjoyable things for me on the Internet. Thanks to the technology, you can see each click of each visitor, the date of the visiting, and how many seconds the user was reading your site. I use this feature to track which of my articles was read for the longest time. In this article I will show you how to store the statistics in a MySQL database, show the web stats in an HTML table and make figures based on the stats using the GD library.
In Making Usage Statistics in PHP the author shows you how to do just that, creating a simple information page about your current visitors, showing what they've accessed and how much of your site they've gone through. Moving from a simple table layout to an image that can be easily viewed is a larger step, but they make it simpler by providing a throgh explaination as well as the code to get it done.
The output is simple, but effective, and can help provide some reali-time stats on your visitors and what resources they love about your site...




