Return to browser and keep running!
| From: | Manuel V�zquez Acosta | Date: | Wed, 15 Oct 2003 14:52:50 +0000 |
| Subject: | Return to browser and keep running! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166209@lists.php.net to get a copy of this message | ||
Hi all:
I need to know if there is a way to send the output buffer to the browser,
disconnect from it but keep running a task the user doesn't need to realize
that is happening and that may take a few minutes to be complete.
Something like:
<?php
/// PREPARE OUTPUT...
flush();
disconnect_from_browser();
/// Figure out if its required an optimization pass to
/// the DB and make it. This could take a long time before
?>
Manu.