News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Tracking Website Statistics with PHP
September 12, 2006 @ 08:16:54

As any developer will tell you, putting a website out on the internet is only half of the equation. The other half is trying to figure out some of the visitors (and how many of them) coming to your site. That's where this new article from DevShed comes in.

If you have a website, especially one that sells products or services, it can be useful to track the visitors to your site. This article explains how to write a program that will do just that.

They offer a database-based suggestion for recording various pieces of visitor information, including: IP address, date/time of the visit, pages viewed, browser type, and the referring page. They give the database structure and the PHP code needed to push the data into it. They also include some simple analysis code/SQL to show the different habits of your visitors and place them into an easy-to-read dynamic HTML page.

0 comments voice your opinion now!
website statistics tutorial mysql database ip time browser refer website statistics tutorial mysql database ip time browser refer


blog comments powered by Disqus

Similar Posts

Mike Dalisay: Salt, Hash and Store Passwords Securely with Phpass

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 3

Dagfinn Reiersol's Blog: Real programming with PHP 5.3 (part 4): A more realistic example

Enavu.com: PHP Smart Date Parsing: Natural Language Input (task.fm explained)

Srdjan Vranac's Blog: Custom Repository with DIC in Symfony2


Community Events





Don't see your event here?
Let us know!


deployment list interview laravel zendserver install update language series package tips podcast community library api framework release opinion introduction symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework