Database driven web counter with PHP/mySQL
| Published on 6/2/2009 by Dotnetindex More articles in PHP
|
This simpel script stores page hits on a database file. In every visit, script counts the hits and updates database. To drive this PHP script , you need PHP, mySQL. You may setup script easily, just copy and paste following code into a page.
<?php Do not forget to create database table with this SQL script. Run sql script within phpmyadmin:
CREATE TABLE IF NOT EXISTS `mycounter` (
|
no comments submitted
Latest Posts
- Image manipulation and watermarking in PHP with GD2
- Making A Cool Login System With PHP, MySQL & jQuery
- Build a customizable RSS feed aggregator in PHP
- Custom RSS 2.0 Content Feeds using OOP
- PHP Development: Getting Started
- How to Count all elements in an array
- Making A Cool Login System With PHP, MySQL & jQuery
- Screen capture with PHP and GD
- Database driven web counter with PHP/mySQL



