Re: VS: [PHP] Chat
| From: | Thomas Angst | Date: | Tue, 29 Aug 2000 15:30:53 +0000 |
| Subject: | Re: VS: [PHP] Chat | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14152@lists.php.net to get a copy of this message | ||
well, why not set the
set_time_limit(0);
and let never end the script?
You can then check a stackfile for for changes and if, print it to the
client.
you need to use the flush() function after the print to send it imediately
to the client
Thomas
----- Original Message -----
From: <M.vanderMerwe@expro.shell.co.uk>
To: <php-general@lists.php.net>
Sent: Tuesday, August 29, 2000 2:58 PM
Subject: RE: VS: [PHP] Chat
> We are talking about HTML being shown, aren't we? And for that sole
> reason you will have to reload the page every single time a new line is
> added.
>
> Thys
>
>
> -----Original Message-----
> From: matti.simperi [mailto:matti.simperi@suomenwebpalvelut.fi]
> Sent: 29 August 2000 13:54
> To: matti.simperi; Professor.Quail; php-general
> Subject: VS: [PHP] Chat
>
>
> <> Yes,
> <>
> <> A simple method would be to use the META tag in your html to do a
> <> refresh every 1 or 2 seconds. I've used this method before for
> something
> <> similar, it should work here. I think the code for the tag goes
> <> something like this:
> <>
> <> <META HTTP-EQUIV="Refresh" CONTENT="2">
> <>
> <> That should do it; make sure that you put this tag into the header of
> <> your HTML. (You may also want to check that this tag is actually done
> <> properly, I haven't used it in a while).
> <>
> <> -Jack Pappas (Professor_Quail@yahoo.com)
> <>
>
> Yes, I known that. Different for that which I mean is that in your way
> the
> whole page is download every time, not ex. single line.
>
>
> Regards,
> Matti Simperi
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
----------------------------------------------------------------------------
----
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net