force the output of PHP
| From: | Calin Uioreanu | Date: | Fri, 27 Jul 2001 10:17:15 +0000 |
| Subject: | force the output of PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59909@lists.php.net to get a copy of this message | ||
Hi,
I would like to force the output of php in one page.
The result set is clustered and I want to send to the browser
a cluster as soon as the processing is done.
Can I do this?
I tried output buffering and something like this:
<?php
ob_start();
echo microtime();
ob_end_flush();
for ($i=0;$i<=100000;$i++) {
$j = md5($i);
}
ob_start();
echo "<hr>";
echo microtime();
ob_end_flush();
?>
But no way
--
Regards,
----------------------------------------------
Calin Uioreanu
calin@ciao-ag.com
Tel: +49 - (0) 89 - 25 55 17 23
http://www.ciao.com
----------------------------------------------