Re: [PHP] who is online?

2007-02-05 Thread Richard Lynch
If you use http://php.net/session_start, I guess you could declare that your session timeout *IS* the definition of current users... But, really, even at 5 minutes, you may be counting a lot of people who have LEFT your site. There is no "real" number for this. Do whatever you want. On Mon, Feb

Re: [PHP] who is online?

2007-02-05 Thread Craige Leeder
ce for it!! > > peace.. > > > -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: Monday, February 05, 2007 5:31 AM > To: benifactor > Cc: php-general@lists.php.net > Subject: Re: [PHP] who is online? > > > benifactor wrote: >> sorry if you mi

Re: [PHP] who is online?

2007-02-05 Thread benifactor
t: Re: [PHP] who is online? benifactor wrote: sorry if you misunderstood, i just wanted to know if it could be done with php alone. It can't, and this should be fairly obvious. If the client-side makes no contact with the server for a period of time, how do you expect it to know that the u

RE: [PHP] who is online?

2007-02-05 Thread bruce
ROTECTED]> > Cc: > Sent: Monday, February 05, 2007 5:18 AM > Subject: Re: [PHP] who is online? > > >> benifactor wrote: >>> i have built a function to tell me how many users are on my site at >>> any given time... >> >>> //define function &

Re: [PHP] who is online?

2007-02-05 Thread benifactor
hmm it was obvious to me, tis why i asked. just had to be sure. thank you for your help. - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "benifactor" <[EMAIL PROTECTED]> Cc: Sent: Monday, February 05, 2007 5:30 AM Subject: Re: [PHP] who is on

Re: [PHP] who is online?

2007-02-05 Thread Stut
: Sent: Monday, February 05, 2007 5:18 AM Subject: Re: [PHP] who is online? benifactor wrote: i have built a function to tell me how many users are on my site at any given time... mins $whoTime = time(); $whoTime = $whoTime - 300; mysql_query("Delete FROM bc_who where expire < $whoTi

Re: [PHP] who is online?

2007-02-05 Thread benifactor
sorry if you misunderstood, i just wanted to know if it could be done with php alone. - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "benifactor" <[EMAIL PROTECTED]> Cc: Sent: Monday, February 05, 2007 5:18 AM Subject: Re: [PHP] who is onli

Re: [PHP] who is online?

2007-02-05 Thread Stut
benifactor wrote: i have built a function to tell me how many users are on my site at any given time... mins $whoTime = time(); $whoTime = $whoTime - 300; mysql_query("Delete FROM bc_who where expire < $whoTime") or die(mysql_error()); //here we difine the variables needed to preform the check

[PHP] who is online?

2007-02-05 Thread benifactor
i have built a function to tell me how many users are on my site at any given time... this fuction works fine, however, i want to know if what i am about to ask is possible. the problem i have is, this function assumes that after five minutes if the user has not refreshed the page, or gone on

Re: [PHP] Who is online script example

2002-09-26 Thread Marek Kilimajer
Look at phpnuke, or any other website management project Research and Development wrote: > Hello. Has anyone noticed that some sites can display a list of users > currently looking at their site? I would like to see the code to do > such things. > > Thanks in advance. > > -- PHP General Mai

[PHP] Who is online script example

2002-09-25 Thread Research and Development
Hello. Has anyone noticed that some sites can display a list of users currently looking at their site? I would like to see the code to do such things. Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php