RE: [PHP] Time Delay using phpscript

2002-06-24 Thread SP
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:

Re: [PHP] Time Delay using phpscript

2002-06-24 Thread 1LT John W. Holmes
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 in

RE: [PHP] Time Delay using phpscript

2002-06-23 Thread Martin Towell
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

RE: [PHP] Time Delay using phpscript

2002-06-23 Thread John Holmes
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.

Re: [PHP] Time Delay using phpscript

2002-06-23 Thread Justin French
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