Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 PHP Hit Counter
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shaun Dreclin




PostPosted: 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
Sponsor
sponsor
JackTruong




PostPosted: Fri Jun 09, 2006 1:29 pm   Post subject: (No subject)

You'll need to understand some basic SQL for a hit counter.
md




PostPosted: 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




PostPosted: 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. Wink
Shaun Dreclin




PostPosted: 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? Very Happy
rdrake




PostPosted: 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




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: