PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
s.dot
Tranquility In Moderation
Posts: 5001 Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana
Post
by s.dot » Fri Feb 18, 2005 2:30 am
I need an idea of what direction to go in to count the number of visitors online on my website.
I have a variable $numonline that is the number of registered users online. So I would like to subtract this from the total number of people online.
$totalonline - $numonline = numvisitors
But I don't have an idea of how to code it.
It's probably so simple I'm over looking it.
Any help?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Feb 18, 2005 8:13 am
search with this: "whos OR users +online" sans quotes.