Re: Live chat screen
| From: | Arjan Gijsberts | Date: | Mon, 24 Feb 2003 15:00:00 +0000 |
| Subject: | Re: Live chat screen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136910@lists.php.net to get a copy of this message | ||
Immediately won't be possible as far as I know. For that, you have to create
a server socket, which is not (easily) able in php-scripts. But you can use
javascript to refresh the page. You could even create a 0 frame which
reloads by javascript and use DHTML to add the messages to the main chat
frame. In this way it is the most transparant to the users. As you might
know java applets are far more suitable for this kind of things (chat
client).
"Sami kyösti" <sami.kyosti@ina-finland.fi> wrote in message
news:3E5A1F6F.7040507@ina-finland.fi...
> Hi!
>
> Is it possible to create a chat screen that updates screen in some kind
> of loop from the database?
>
> So if someone sends a message to database it immediately shows on chat
> screen?
>
> Kind regards,
> Sami
>