Re: Run the same php function several times in th background

From: Date: Tue, 14 Oct 2003 16:37:41 +0000
Subject: Re: Run the same php function several times in th background
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166090@lists.php.net to get a copy of this message
Jay Blanchard wrote:
[snip] I would like to intiate the same function many times, running in the background using php, [/snip] for($i = 0; $i < 1000; $i++){ foo($blork); // function runs one thousand times } Please RTFM, STFW, and STFA for PHP tutorials. Thank you.
This is not what he asked. He wants to run the process in the background. PHP's process control functions may do what you need.... http://us3.php.net/manual/en/ref.pcntl.php -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#166090) next »