Re: Number of users

From: Date: Tue, 12 Jul 2005 08:04:41 +0000
Subject: Re: Number of users
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218519@lists.php.net to get a copy of this message
<YaronKh@clalit.org.il> wrote in message news:1D574345A853464CA188123E2B2CE54821C2D5@mknt221.clalit.org.il... 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? ---------------------- There are various ways to achieve this. You could use session variables, cookies or store the information in a database and pass the lookup value around in a querystring. Which you choose will depend a little on how robust you want it to be, and how your website is set up. You should probably start off by reading up on sessions - there is plenty to dip into here: http://www.google.co.uk/search?q=php+session&sourceid=mozilla-search&start=0 &start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-GB:official -------------------- Thanks yaron

« previous php.general (#218519) next »