note 40152 added to ref.exec

From: Date: Mon, 23 Feb 2004 18:22:45 +0000
Subject: note 40152 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-65601@lists.php.net to get a copy of this message
These functions for spawning background processes must be seen as a last resort. They are messy, platform dependent, hard to debug and its hopeless to track what has happened. However, I have often found a need to use functions like these. Almost always it has been easier to write what I would like to have done and with which parameters to a table. Then have whatever process check the table at regular intervals (every 10 secs) and perform the wanted tasks. This sounds like lots of job, but its almost always easier to test and You can use the table for logging. regards /peter ---- Manual Page -- http://www.php.net/manual/en/ref.exec.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40152 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40152&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40152&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65601) next »