News Feed
Sections




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

Noupe.com:
How To Create Your Own Stats Program (JavaScript, AJAX, PHP)
June 17, 2009 @ 09:30:36

There's a new tutorial from Noupe.com today that walks you through the process of making a customized statistics program by combining HTML, Javascript (some Ajax) and PHP. In this case, they're looking to track the visitors to a website.

When creating a website, one main goal is to attract visitors. Traffic generation is a necessity for monetary purposes, showing off your work, or just expressing your thoughts. There are many ways to create traffic for your website. Search engines, social bookmarking, and word of mouth are just a few examples. But how do you know whether this traffic is genuine? How do you know if your visitors are coming back for a second time?

The application they help you build (demo here) doesn't do any graphic with the data, so you'd need an external tool like JPGraph to create it. It does, however, provide you will the complete code to not only count the total visits from an IP but also which resources were hit and how many times they've been accessed. The backend is a SQLite database accessed through PHP.

0 comments voice your opinion now!
ajax javascript tutorial statistics


blog comments powered by Disqus

Similar Posts

Brandon Savage's Blog: Exceptional PHP: Nesting Exceptions In PHP

ProDevTips.com: WP Hashcash

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages

IBM developerWorks: 30 game scripts you can write in PHP, Part 1: Creating 10 fundamental scripts

IBM developerWorks: Build Web services with PHP in Eclipse


Community Events

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


laravel5 voicesoftheelephpant community podcast framework language threedevsandamaybe laravel library security extension interview opinion api series version introduction release unittest symfony

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