RE: [PHP] Re: who's in the chat?
| From: | James E Hicks III | Date: | Thu, 10 Oct 2002 15:02:33 +0000 |
| Subject: | RE: [PHP] Re: who's in the chat? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119541@lists.php.net to get a copy of this message | ||
My chat stores usernames, timestamps in a table on DB. When refresh script runs,
it updates the timestamp on usernames and deletes rows in DB with stale
timestamps (no refresh run). Pulling usernames from this table gives current
chat users.
James
-----Original Message-----
From: Oliver Witt [mailto:oliverwitt@t-online.de]
Sent: Thursday, October 10, 2002 11:09 AM
To: php-general@lists.php.net
Subject: [PHP] Re: who's in the chat?
Jason Young schrieb:
> Without knowing how your chat works as far as entering the chat, you DO
> have to put some sort of name with the person, right? Perhaps you could
> just update a temp table with their chat name..
>
> Or if you can only get into chat by logging into the site, you could
> just set a bit with their cookie data or something..
>
> Is this not what you wanted to do? (I guess I should have asked you to
> elaborate :) )
>
> Just throwing suggestions out there
> -Jason
>
I've been trying something similar like that. How can I update a temp table
when they enter and leave the chat? That's my problem,
Olli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php