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


how i can to: "X users are online now"?





roeenoy
how i can to: "X users are online now"? by using php and mysql table?

if you have the right code please post it here..

thank you
AftershockVibe
As HTTP is a stateless protocol you can never get exact results however the easiest, and the way most forum software does it, is to do the following;

1.) On each page load, write a timestamp and the destination IP to the table.
2.) To count the number of users query for the number of unique IPs recorded within the last x minutes.
Related topics
users online, using php and text file
V Bulletin dökümanlarý
Help with PhpBB
First Mac OS X Worm a Wake-Up Call
Bluetooth worm targets Mac OS X
Users Online
Users Online
Best Messenger
Scritp To See Users Online In Ur Site
break the most online users record.
Users Online
Highest no of users online!!
PHP Online Count..
Re-Set the most users online
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.