FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP Online Count..





Diablosblizz
Hey, I was wondering what php script shows how many users are online? Example:

56 Users Online?


Is that possible to do? I don't really know how to do that. Thanks!
badai
here, a free script

http://www.hscripts.com/scripts/php/usersOnline.php
fromegame
You can better use HUOb than HUOa, I use HUOb too, I don't know the site, but I'm sure you can find it @ google.
Diablosblizz
See the problem with HUO-b 1.0 is that is shows a max online user count. I just want the user count.. also, I tried the HUO-a and its the exact same as b..
??
XXcoderz
This tutorial learn u how do it
it will be helpfull
http://www.spoono.com/php/tutorials/tutorial.php?id=16
fromegame
You can easily change this, go to huox-xu.php (or whatever it's named) and go to the bottom of the page. You see an 'echo' here, just change it to:

Code:
echo "Users Online " . $count;


You can let the rest as it is Wink
jayzee
badai wrote:
here, a free script

http://www.hscripts.com/scripts/php/usersOnline.php


cool resource..
manum
start a session each time a user enters ur site and then count the number of files in the dir where sessions are saved gives u the total users online.

thats 1 method the other one is using mysql

u can find many scripts at hotscripts.com
fromegame
I think session_path is /tmp by default, don't think it's accesible via php, though. Sad
Related topics
I want PHP Online Games
users online, using php and text file
Co myslicie o mojej stronce??
Make a post with JAVA client
Ton of trouble with Mutiple values in form
count input fields
Email validation
Script license
i want to learn php how should i start
PHP Form Question
981 users online
long php pages or include
Php doubt?
CMS Nedir? CMS Platformlarý Nelerdir? Hangi CMS?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.