Text counter in PHP.
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 18170
Total Votes: 144 votes
Submitted on: 2008-03-16 04:22:19
Submitted By: Devesh Khanna
Description: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. More detail...