Re: Launch a seperate process

From: Date: Tue, 06 Mar 2007 22:31:10 +0000
Subject: Re: Launch a seperate process
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-249949@lists.php.net to get a copy of this message
fedt wrote:
pcntl_ fork() and pcntl_ wait(), yo If you're using PHP as an apache DSO, you may find that those functions aren't available. If you don't have the pcntl_* functions available, there a less attractive options...I've done a request with curl with a short timeout to "spawn" the second request from PHP. You could likely also do it with JavaScript/AJAX. There are probably lots of other ways, in fact there may have been a discussion here some time ago about it though I don't remember the outcome.
jon

« previous php.general (#249949) next »