Log in

View Full Version : counter people on line right now



RD_Gringa
08-02-2006, 06:50 PM
I'm sorry but I don't know which script is which, java, html, and whatever else..
What I want is a program to let me know how many people are on my site right now. I don't need the fancy ones that show the flags and such. Just how many people are looking around my site at this moment. I have a stat counter.
I usually see it on the top of the front page of peoples sites.
Do you know what I mean? I wish I knew all the right terms to use..sorry...

sharmin
08-02-2006, 07:10 PM
I'm sorry but I don't know which script is which, java, html, and whatever else..
What I want is a program to let me know how many people are on my site right now. I don't need the fancy ones that show the flags and such. Just how many people are looking around my site at this moment. I have a stat counter.
I usually see it on the top of the front page of peoples sites.
Do you know what I mean? I wish I knew all the right terms to use..sorry...

I guess you can do it by javascript but not by html. With a browser's cookie feature, you can also record other people's browser / network info.

djr33
08-03-2006, 01:25 AM
Javascript is client side and cannot be accessed by the server or other users.

you need a server side language.


Basically... use a database (or list), and record IP addresses when someone visits the site. Then remove those addresses if they haven't been around for 15 minutes, or 30 seconds, or 2 hours, or whatever.
This can be done with PHP.

Kinda complex, though.

joaoleitao
08-04-2006, 07:11 PM
http://www.abcompteur.com

i have on of these free counters on my website (http://www.merzougahotels.com). it works fine.