ASPit - Totally ASP JSit - Totally JavaScript
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.


Track your visitors, using PHP

(Page 4 out of 4)

In this article I have shown you have to create a logging module for your own PHP website, using nothing more than PHP and its built-in functions. To view the log file you need to parse it using PHP, and then display it in whatever way you like. It is up to you to create a kick-ass traffic analyzer.

If you still prefer to use a pre-built traffic analyzer, have a look at HotScripts.

Click here to download the example scripts

« Previous: Viewing the log file

One Response to “Track your visitors, using PHP”

  1. david Says:

    what if i’d like to know what country is IP from… ?? how could i do that ??

Leave a Reply

About the author
Dennis Pallett is the main contributor to PHPit. He owns several websites, including ASPit and Chill2Music. He is currently still studying.
Article Index
  1. Getting the information
  2. Logging the information
  3. Viewing the log file
  4. In Conclusion...
Bookmark Article
Download Article
Download this article as a PDF file