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
ou were lookin for but just an idea. Best of luck, David -Original Message- From: oxygene...@gmail.com [mailto:oxygene...@gmail.com] On Behalf Of Chris Payne Sent: Saturday, June 20, 2009 2:34 PM To: php-general@lists.php.net Subject: [PHP] Users Online? Hi everyone, I have a login syst

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.

[PHP] Users Online?

2009-06-20 Thread Chris Payne
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 minimum of hassle? Would I just have to look at the sessions that are cu

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

[PHP] users online

2005-05-01 Thread Anasta
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. Any help apreciated ! -- PHP General Mailing List (http://www.php.net/) T

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

[PHP] users online

2005-04-03 Thread Ryan A
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: instead of displaying "xx number

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
rs 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 PROTECTED]> Sent: Wednesday, 24 September, 200

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
> To: <[EMAIL PROTECTED]> Sent: Wednesday, 24 September, 2003 08:36 Subject: [PHP] Users Online 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

[PHP] Users Online

2003-09-24 Thread Matias Hohl
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? :-) Greetings, Matias from