How to launch a background task from a web page

From: Date: Thu, 30 Oct 2008 16:38:50 +0000
Subject: How to launch a background task from a web page
Groups: php.general 
Request: Send a blank email to php-general+get-282636@lists.php.net to get a copy of this message
I have some long running scripts which I need to launch from a web page and have them run in the background, but which should not cause the web page to wait until the script finishes. Reading the manual on the backtick and exec() operators seems to imply that the PHP function will be suspended until the script finishes, which is not what I want. Is this possible in PHP? -- Tony Marston http://www.tonymarston.net http://www.radicore.org

« previous php.general (#282636) next »