RE: [PHP] Number of users

From: Date: Tue, 12 Jul 2005 17:46:53 +0000
Subject: RE: [PHP] Number of users
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218566@lists.php.net to get a copy of this message
The current users' num is actually not exactly and it's just an estimated one. You can save your users' data in an array, and every time receive a request from a browser you should modify your array and then you can get how many users are "online". And also there need another function to clean up the expired users. Best regards, Shiqi Yang -----Original Message----- From: YaronKh@clalit.org.il [mailto:YaronKh@clalit.org.il] Sent: Tuesday, July 12, 2005 4:26 PM To: php-general@lists.php.net Subject: [PHP] Number of users Hello all, I have some questions and I hope someone could answer them 1. Is there a way to find out how many users currently browsing pages at my web site? 2. If I write down the IP of a user that log on my web site, can I check later if the IP still browsing pages at my web site or if he had left my website? Thanks yaron

« previous php.general (#218566) next »