[PHP] Run a php script as a separate thread/process

2005-10-11 Thread Tommy Jensehaugen
Hi, Anyone knows how to start a php script as a separate thread/process from another php script? example.php: ?php some logic execute('separate_script.php'); more logic ? The reason why I want to do this is because separate_script.php has to be fully executed even if the request for

[PHP] Run a php script as a separate thread/process

2005-10-11 Thread Tommy Jensehaugen
Hi, Anyone knows how to start a php script as a separate thread/process from another php script? example.php: ?php some logic .. .. execute('separate_script.php'); more logic .. .. ? The reason why I want to do this is because separate_script.php has to be fully executed even if the request

Re: [PHP] Run a php script as a separate thread/process

2005-10-11 Thread Petar Nedyalkov
On Tuesday 11 October 2005 14:12, Tommy Jensehaugen wrote: Hi, Anyone knows how to start a php script as a separate thread/process from another php script? Yes, you can check: http://bg.php.net/manual/en/ref.exec.php for details. example.php: ?php some logic

Re: [PHP] Run a php script as a separate thread/process

2005-10-11 Thread Silvio Porcellana
Tommy Jensehaugen wrote: snip / The reason why I want to do this is because separate_script.php has to be fully executed even if the request for example.php is stopped in the middle of more logic. I am using PHP Version 4.3.11. You might also want to give a look at this: