How to call a PHP without blocking the thread?
<p>I have 2 PHP files. One file is caller.php and the other is worker.php  </p>

<p>caller.php will start worker.php on the (linux) system and caller.php should be ended immediately (while worker.php is still working on the server)</p>

<p>The worker.php is taking a lot of time and it will write the status to a database or a file.</p>

<p>I want to be able to open caller.php in the browser which starts 'php worker.php', close the browser, come back in 5 minutes and check the status.. (or the script will send a mail after completion) - any ideas how to do this?</p>
