[PHP] Time Delay?

2003-02-01 Thread OjMyStEr
Hi, Does anyone know if there is a way for me to produce a function in PHP to pause the processing of the script for 3 seconds for example without eating up the CPU bandwidth. I could do with quite accurate control. Is there a better way that doing it like this: The output is: The current ti

Re: [PHP] Time Delay?

2003-02-01 Thread Jason Wong
On Saturday 01 February 2003 21:27, OjMyStEr wrote: > Hi, > Does anyone know if there is a way for me to produce a function in PHP to > pause the processing of the script for 3 seconds for example without eating > up the CPU bandwidth. I could do with quite accurate control. Is there a > better way

[PHP] time delay function?

2004-03-09 Thread Scott Taylor
I am wondering if there is a time delay function, one that will cause the program to be inactive for a number of seconds (something like delay(10) ). I am doing this because I am setting up a mass mailing program (this is not spam), and I don't want to be targeted as spam. Best Regards, Scott

[PHP] Time Delay using phpscript

2002-06-23 Thread Uma Shankari T.
Hello, Can anyone please clear my doubt 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 ???.. Thanks & Regards Uma -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] time delay function?

2004-03-09 Thread Richard Davey
Hello Scott, Wednesday, March 10, 2004, 4:12:29 AM, you wrote: ST> I am wondering if there is a time delay function, one that will cause ST> the program to be inactive for a number of seconds (something like ST> delay(10) ). I am doing this because I am setting up a mass mailing ST> program (th

RE: [PHP] time delay function?

2004-03-09 Thread Jason Sheets
Take a look at sleep() http://www.php.net/sleep It delays execution by a user specified number of seconds. Jason -Original Message- From: Scott Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 9:12 PM To: [EMAIL PROTECTED] Subject: [PHP] time delay function? I am

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 phpsc

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

RE: [PHP] Time Delay using phpscript

2002-06-24 Thread SP
: [PHP] Time Delay using phpscript Hello, Can anyone please clear my doubt 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 ???.. Thanks & Regards Uma -- PHP General Mai

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