Re: [PHP] RE: Site Sesions: Online/off...

2001-04-21 Thread Richard
Hehehe.. Yeah. Thanks alot, this will do perfectly good. - Richard ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bqhpe$f3d$[EMAIL PROTECTED]">news:9bqhpe$f3d$[EMAIL PROTECTED]... > If you want to make it easy on yourself, convert it into a timestamp (unix > preferably). Then all you have

Re: [PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Plutarck
If you want to make it easy on yourself, convert it into a timestamp (unix preferably). Then all you have to do is: $dif = time() - $last_access_time; if ($dif > 3600) { echo "The user has been inactive for more than an hour."; } That's if you want to make it easy on yourself. If you're a m

[PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Richard
Greetings. (the thread was too far down to be read by anyone) I am having some problems with the code itself! I have done like so, that whenever peopel wishes to see the "onliners", I start a function called DelOld(). This will not decrease server speed, nor create conflicts when writing to t