PHP text counter
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. We�re going to save the amount of hits in a .dat file, so you don�t even need a mySQL database. First off, you have create a directory and CHMOD it 777 so PHP can write the counter.dat file.