This is just a Simple Counter, Try this counter first and hope you will make some professional ones after it by trying some other good Counter tutorials.
New to PHP? This tutorial teaches you how to make a PHP Counter, without using MySQL, so if you do not have access to MySQL then you can still do it.
In the tutorial you will learn the basics of file handling and sessions, which are vital operations in most PHP scripts.
If you can't seem to crack it then I have added the full script at the end just incase.
Part 1 of 2 Tutorial to create a hit counter using php/mysql. Some of the feature discussed in thi tutorial will be show no, of online, unique visitor , visit log & etc. A good & practical tutorial for begineers.
Final Part of the tutorial that helps your to build your own hit counter with some basic features. Consists of data for last 24 hours, No of users online for the past 5 minutes. It's simple & effecitve
This script enables you to add a simple text based hit counter to you webpages, which displays the total number of hits to your webpages. It can also be made so that it is invisible.
A counter is an essential part of a site to know how many people are coming to site. Here is an easy way to make a counter. All you need is access to PHP and be able to chmod a directory.