Re: fork?
| From: | Jim Winstead | Date: | Sat, 23 Feb 2002 17:45:48 +0000 |
| Subject: | Re: fork? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85948@lists.php.net to get a copy of this message | ||
Paul Roberts <roberts_paul@bigfoot.com> wrote:
> how do i do two things at the same time, i'm thinking of the
> equivalent of fork in perl
you need to enable the pcntl extension, and then you can use pcntl_fork
(http://php.net/pcntl_fork). you may also be able to use the 'ticks'
mechanism (http://www.php.net/manual/en/control-structures.declare.php).
jim