Re: [PHP] running process in the background

2005-08-31 Thread Jordan Miller
Oh wait... you are not specifying your $_POST variable. you need to use the key for $_POST. just do a print_r($_POST) to find the key from the $_POST array that you are looking for. also, i would not pass a $_POST variable directly to your shell without escaping it somehow, first... forea

[PHP] running process in the background

2005-08-31 Thread Georgi Ivanov
Hi, I'm experiencing strange behavior when trying to run background process in PHP. Code : //Run_check.php foreach ($_POST as $kid){ `php run.php param1 param2 > /dev/null &`; } In this case PHP waits all the instances of the process to complete. I don't understand why. I have a workaroun