Re: [PHP] Users Online?

2009-06-21 Thread Nitsan Bin-Nun
Why all this mess for such a simple thing? All you need is to allocate the last activity timestamp with userid in the users table, add 'last_activity' column to the users table then update it with every page load at the administration panel. Then all you need to do in order to print out the curren

Re: [PHP] Users Online?

2009-06-21 Thread Michael A. Peters
Paul M Foster wrote: On Sat, Jun 20, 2009 at 01:33:52PM -0700, Chris Payne wrote: Hi everyone, I have a login system that allows a user to login to my control panel, is there an easy way so that I can tell how many users / what users are logged into my system? What would I need to do to add t

RE: [PHP] Users Online?

2009-06-20 Thread David Swenson
Chris, If it were me (and let me warn you, there's probably 100 different ways to do this), but If I was using a table to log them into a "control panel (CP)" of sorts, I'm sure you have other DB querries to handle the CP stuff it self, correct? Well if your already taking the time to create a DB

Re: [PHP] Users Online?

2009-06-20 Thread Paul M Foster
On Sat, Jun 20, 2009 at 01:33:52PM -0700, Chris Payne wrote: > Hi everyone, > > I have a login system that allows a user to login to my control panel, > is there an easy way so that I can tell how many users / what users > are logged into my system? What would I need to do to add this with > the

Re: [PHP] Users Online?

2009-06-20 Thread Michael A. Peters
Chris Payne wrote: Hi everyone, I have a login system that allows a user to login to my control panel, is there an easy way so that I can tell how many users / what users are logged into my system? I assume there is since many community applications (IE bulletin boards) show logged in users.

Re: [PHP] users online

2005-05-02 Thread Deep
Hi, Try this. I am assuming that you have already fetched the name of the user who is online, either from the database or from session or whatever. I am assigning the variable $uname with that "user online". I've used javascript to display the name in the textbox. Here goes the code. Simple.is

Re: [PHP] users online

2005-05-01 Thread Richard Lynch
On Sun, May 1, 2005 1:35 am, Anasta said: > Hi, is this possible-- > I need a user (already logged in) to click on a button and his username > shown in a text box next to it. > This is for a chat and they need to be seated similar to poker game where > they sit-in/sit out. What am I not getting

Re: [PHP] users online

2005-04-03 Thread Ewout de Boer
Ryan A schreef: > Hi, > I have been searching the archives with little luck so I need a reminder > here, > I remember a little while ago someone asked how to implement the "users > online" functionality > that some sites have...now i have been asked to do exactly that but with a > small twist: > i

Re: [PHP] Users Online

2003-09-24 Thread Becoming Digital
- From: "Matias Hohl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, 24 September, 2003 08:54 Subject: Re: [PHP] Users Online No, they don't have to login. Does the Netscape Navigator know the IFRAME-Tag? Can I read values from a DB with Flash? Thanx

Re: [PHP] Users Online

2003-09-24 Thread Matias Hohl
Ok, thanx. I think this is the best way to get a clean result. But do all the Browsers know the IFRAME-Tag? "Jay Blanchard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] [snip] Hello php-Freaks I would like to display the number of users that are online on my page. Scripting th

Re: [PHP] Users Online

2003-09-24 Thread Matias Hohl
No, they don't have to login. Does the Netscape Navigator know the IFRAME-Tag? Can I read values from a DB with Flash? Thanx "Becoming Digital" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Do your users have to logon? If so, run a count of logged-in users every 2min and use

RE: [PHP] Users Online

2003-09-24 Thread Jay Blanchard
[snip] Hello php-Freaks I would like to display the number of users that are online on my page. Scripting that is not the problem... but how can I refresh this number all 2 minutes on a users page? I don't want to make always a redirect. Isn't the a possibility like streaming? :-) [/snip] Place a

Re: [PHP] Users Online

2003-09-24 Thread Becoming Digital
Do your users have to logon? If so, run a count of logged-in users every 2min and use an IFRAME or Flash movie so that the rest of the page is unaffected. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Matias Hohl" <[EMAIL PROTECTED]> To: <[EMAIL P