Speaking off the top of my head, seems like a combination of html meta
refresh and a variable that increments based on HTTP REFERRER=PHP_SELF could
provide the effect you're looking for. Certainly you could meta refresh to
new pages in sequence. Or of course just use an animated gif if static text.
Have you looked into javascript/java?
I doubt that you can do it solely within php as it parses once and delivers
html. The connection betwixt the server and client is transaction and the
client would have to initiate the call to update, unless the update was
imbedded within and staged at the client.
On Sat, 24 Mar 2001, CC Zona wrote:
> Date: Sat, 24 Mar 2001 11:06:02 -0800
> From: CC Zona <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Delaying Printed Output
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Greg Scott) wrote:
>
> > > sleep(seconds);
> > > usleep(microseconds);
> >
> > I've tried those 2 functions, in an example like this:
> >
> > PRINT "This<br>";
> > SLEEP(2) ;
> > PRINT "Is a<br>";
> > SLEEP(2);
> > PRINT "TEST";
> >
> > But the way it works in the browser is to wait for a total of 4 seconds
> > and then it displays all the text at once, not one line at a time -
> > which is what I'm after.
>
> You might try using flush() after the prints.
>
> --
> CC
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Kelly
303-444-1671
Boulder, Colorado
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]