How to launch a background task from a web page



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


.



Relevant Pages

  • Re: [PHP] How to launch a background task from a web page
    ... On Thu, Oct 30, 2008 at 11:38 AM, Tony Marston ... exec() operators seems to imply that the PHP function will be suspended ... until the script finishes, which is not what I want. ...
    (php.general)
  • Re: ISO-8859-1
    ... >how can i translate this kind of message returned by the PEAR POP3 ... >Is there a php function to do that? ... The script includes functions that do that kind of translation. ... Visit Topic URL to contact author (reg. ...
    (comp.lang.php)
  • Re: upload a file without user having to browse or enter file name
    ... with it unless a link or button requests another php function or script ... As mentioned in my original post: "I want the user to click on ...
    (comp.lang.php)
  • Re: upload a file without user having to browse or enter file name
    ... with it unless a link or button requests another php function or script ... As mentioned in my original post: "I want the user to click on ...
    (comp.lang.php)
  • Re: Code that never exits?
    ... > There is a default script execution time set to 30 seconds by php, ... > point the script will stop processing and it will spit out an error. ... > For more info check out the docs on the php function: ... log file or dump variables to a file helping you to debug things). ...
    (comp.lang.php)