Run a php script as a separate thread/process
| From: | Tommy Jensehaugen | Date: | Tue, 11 Oct 2005 11:12:36 +0000 |
| Subject: | Run a php script as a separate thread/process | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223892@lists.php.net to get a copy of this message | ||
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 example.php is stopped in the middle
of "more logic".
I am using PHP Version 4.3.11.
Thank you very much for your help..
Cheers,
Tommy