problem PHP4 (4.0.3pl1) flush() on Linux
| From: | didier tanti | Date: | Mon, 02 Jul 2001 13:05:52 +0000 |
| Subject: | problem PHP4 (4.0.3pl1) flush() on Linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55826@lists.php.net to get a copy of this message | ||
Hi,
Now that I changed from PHP3 to PHP4, my flush()
called don't work anymore,
For example this script:
<?php
while (true)
{
#echo "coucou<br>";
print("coucou");
flush();
sleep(1);
}
?>
do NOT flush the datas on the browser (client side).
In addition, if we exit the script before the normal
end of its execution nothing is flushed on the browser
(the data are "in one step" flushed when the script
ends normally).
Any Ideas ??
OS: Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.12-2
Thanks a lot,
Didier
___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net,
Yahoo! Shopping : http://fr.shopping.yahoo.com