On Fri, Nov 21, 2003 at 03:40:05AM -0700, Gary C. New wrote:
:
: What is the best way to detach and run a command line based php script
: in the background from a web-based php script, without the need for
: reporting?
How about exec('command &') ?
--
PHP General Mailing List (http://www.php
Gary C. New wrote:
What is the best way to detach and run a command line based php script
in the background from a web-based php script, without the need for
reporting?
Try something like :
if (!($handle = popen("script.sh 2>&1 > /dev/null &", "r")))
{
echo "Couldn't run process";
}
http://w
2 matches
Mail list logo