> Take a look at this page, it uses flush to stagger the results as php
> processes it. pretty cool
>
> http://www.massassi.com/bTemplate/benchmarks/benchmark_var_assign.php?i=50
I'd be interested to hear from other people if that works in other browsers.
It had a nice effect when I looked at it
Take a look at this page, it uses flush to stagger the results as php
processes it. pretty cool
http://www.massassi.com/bTemplate/benchmarks/benchmark_var_assign.php?i=50
-Original Message-
From: Uma Shankari T. [mailto:[EMAIL PROTECTED]]
Sent: June 23, 2002 11:14 PM
To: PHP
Subject:
Why would you want to do this? All it will achieve is delaying the output
of the entire file to the browser...
If a page would usually take .5 seconds to parse, and you have 10 seconds of
delays in the script, then the browser will get the page in around 10.5
seconds... the user will just see a
> I need to display some strings one by one after some specific time..In
> javascript we can use setTimeout() function.Is there any function like
> this in phpscript ???..
No, not really. PHP just evaluates the script and sends the output to
the browser. It has no control over the display at all.
maybe
while(true)
{
echo "word";
flush();
sleep(1);
}
but I don't think that's exactly what you want, is it?
-Original Message-
From: Uma Shankari T. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 1:14 PM
To: PHP
Subject: [PHP] Time Delay using phpscript
Hello,
Can an
5 matches
Mail list logo