PHP 4.0 Bug #6943 Updated: flush() doesn't flush before the end of the PHP script exuction
| From: | hholzgra@php.net | Date: | Thu, 09 Nov 2000 11:21:57 +0000 |
| Subject: | PHP 4.0 Bug #6943 Updated: flush() doesn't flush before the end of the PHP script exuction | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37526@lists.php.net to get a copy of this message | ||
ID: 6943
Updated by: hholzgra
Reported By: denis.roux@alcatel.fr
Status: Closed
Bug Type: Output Control
Assigned To:
Comments:
this is most likely your webserver thats buffering the whole
output from php and doesn't send it out before script
completion
Previous Comments:
---------------------------------------------------------------------------
[2000-09-29 17:02:26] denis.roux@alcatel.fr
<html>
<head>
<title>Exemple</title>
</head>
<body>
<?
echo ("script PHP");
echo "should be printed immediatly<br>";
flush();
?>
hello<br>
<?>
sleep(3);
echo "in fact, printed in the same time that, i.e. after the 3sec. delay !!!";
</script>
</body>
</html>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6943