[PHP] CLI delay

2002-12-27 Thread Maciek Ruckgaber Bielecki
Hi guys !!
im starting on this list today so hello to everyone :-)
i have been programming in php for 2 years now, so i hope i may be
helpfull.
on the other hand im quite new to CLI PHP, an here my first question on
the list :

has anyone an idea of how can i do some kind of decent delay (instead of
some shell_exec doing pings)  :-P

thanks,
regards ...

--
Few are those who see with their own eyes and feel with their own
hearts.
Albert Einstein
-
Maciek Ruckaber Bielecki




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CLI delay

2002-12-27 Thread Marek Kilimajer
sleep();
usleep();

Maciek Ruckgaber Bielecki wrote:


Hi guys !!
im starting on this list today so hello to everyone :-)
i have been programming in php for 2 years now, so i hope i may be
helpfull.
on the other hand im quite new to CLI PHP, an here my first question on
the list :

has anyone an idea of how can i do some kind of decent delay (instead of
some shell_exec doing pings)  :-P

thanks,
regards ...

--
Few are those who see with their own eyes and feel with their own
hearts.
Albert Einstein
-
Maciek Ruckaber Bielecki




 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CLI delay

2002-12-27 Thread Rick Widmer
At 03:55 AM 12/27/02 -0500, Maciek Ruckgaber Bielecki wrote:


has anyone an idea of how can i do some kind of decent delay (instead of
some shell_exec doing pings)  :-P



Have you tried sleep()?

   http://www.php.net/manual/en/function.sleep.php

Rick


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CLI delay

2002-12-27 Thread Maciek Ruckgaber Bielecki

thanks guys sleep did the miracle for me :-)
--
Few are those who see with their own eyes and feel with their own
hearts.
Albert Einstein
-
Maciek Ruckaber Bielecki





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php