Posted: Fri Jun 09, 2006 10:41 am Post subject: PHP Hit Counter
Yeah, I keep going around and seeing people say how simple it is! Then I look at the socalled tutorial, and it makes absolutely no sense -_-;
So anyways, how do I make a text counter that goes up by one every time sombody veiws the page?
From the beginning please, ive never used PHP before..
(Im building my site with frontpage)
Sponsor Sponsor
JackTruong
Posted: Fri Jun 09, 2006 1:29 pm Post subject: (No subject)
You'll need to understand some basic SQL for a hit counter.
md
Posted: Fri Jun 09, 2006 10:18 pm Post subject: (No subject)
You don't need sql at all! It's simplest to use one but it's definitely not needed; a simple file will do. As for how exactly it's done I can think of a few ways but I don't really want to write the code for you.
wtd
Posted: Sat Jun 10, 2006 8:33 am Post subject: (No subject)
Cornflake wrote:
You don't need sql at all! It's simplest to use one but it's definitely not needed; a simple file will do.
Or a combination of the two: SQLite.
Shaun Dreclin
Posted: Sat Jun 10, 2006 2:27 pm Post subject: (No subject)
Blarg
Alright, I dont know what SQL or whatever you called it is.. So uhm, who wants to be nice and forward the dumbass (being me) to a tutorial of some sort?
rdrake
Posted: Sat Jun 10, 2006 3:07 pm Post subject: (No subject)
The first hit for "SQL tutorial" on Google gave me this. Also, a search on Google for PHP tutorial gave me this.
JSBN
Posted: Tue Jun 27, 2006 11:36 pm Post subject: (No subject)
if you dont care about unique Vs repeat users, just create a text file and everytime someone visits the site, get that number and increase it. then re-write the file.