A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 5: Plug-in 29 - Hit Counter

For long-term statistical information you can always use a service such as Google Analytics to keep track of your web visitors. But when you have a brand new page and need to know instantly whether and how much traffic it is attracting, your normal recourse is to the server log files. But now you can use this plug-in to add a simple, invisible, counter to your web pages in order to get a quick snapshot of raw and unique hits.

The Figure shows web page hits being counted by raws and uniques.