Echo is buffered despite ob_implicit_flush(1)! Help please
am 27.02.2009 11:56:48 von Pontus Edvardsson--_894d2725-9d95-4f15-812e-2427a6734078_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
=20
I've been spending the last few days Googling a lot to find a sollution to =
this problem=2C and have found lots of things I've tried to no avail. My li=
ttle program (below)=2C radically simplified ofcource :)=2C that used to ru=
n fine on Vista/PHP5 but suddelnly changed behaiviour. I want it to echo th=
e text=2C wait a second=2C echo the next etc. Now it buffers the output and=
writes it all to the screen at the same time. I've read on php.net about I=
E needing 256 bytes before it writes anything two screen=2C tried all diffe=
rent flush() commands=2C configured it in php.ini as well as using ob_ in m=
y code=2C but nothing seems to work?!
=20
Using Win2000 and php4 the code below works... How do I accieve thesame wit=
h Vista and php5??
=20
=20
My environment=3B
=20
Vista Enterprise
Abyss X1 Webserver 2.6
PHP 5.2.8
=20
=20
// Needed in Win2k with PHP4 to immedeately output to browser window. Does =
not work in Vista/PHP5.
echo str_repeat(" "=2C 256)."
"=3B flush()=3B
ob_implicit_flush(1)=3B
=20
echo "Trace1=3D ".date(DATE_RFC822)."
"=3B
sleep (1)=3B
echo "Trace2=3D ".date(DATE_RFC822)."
"=3B
sleep (1)=3B
echo "Trace3=3D ".date(DATE_RFC822)."
"=3B
=20
=20
Best Regars=2C
=20
Pontus
____________________________________________________________ _____
News=2C entertainment and everything you care about at Live.com. Get it now=
!
http://www.live.com/getstarted.aspx=
--_894d2725-9d95-4f15-812e-2427a6734078_--