By the simple counters (easy counter & easy counter with images tutorials), when you refresh which page again and again the counter plus by 1 everytime. Only you can make more than 1,000 visitors in minute (the truth is you; 1 person). Not good for use them in your real sites.
This tutorial will show you how to make a simple real visitor counter. It's mean that when someone comes and browse your site or refresh your pages many times. It's still count at 1 (1 person) until he leaves (close his browser).
Overview
This tutorial require 1 PHP file and 1 table of mySQL database.
real_visitor_counter.php
Database "tutorial" and table "easy_counter" with 1 fields: visitor(Int, 11). You need to insert a first one record with "0".