If you are running as a cgi or cli, take a look at the pcntl extension. If you are running under apache, you must use heavy-weight "threading" by running an external/separate process and communicating with some IPC mechanism.
The best solution depends on what exactly you want to do and the environment in which you are working. You might find that you can get away with a loop, sleep() and popen(). --Wez. On 06/04/02, "Eric Liedtke" <[EMAIL PROTECTED]> wrote: > Suppose I wanted to add and extension the creates a "service". > For example I wanted to create a "service" that pings a host 20 times > once every 10 minutes and saves the average ping time to a file. I also > want to be able to change aspects of this service while its running. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php