[PHP] CLI delay
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
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
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
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