Echo is buffered despite ob_implicit_flush(1)! Help please

--_894d2725-9d95-4f15-812e-2427a6734078_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi=2C



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?!



Using Win2000 and php4 the code below works... How do I accieve thesame wit=
h Vista and php5??





My environment=3B



Vista Enterprise

Abyss X1 Webserver 2.6

PHP 5.2.8





// Needed in Win2k with PHP4 to immedeately output to browser window. Does =
not work in Vista/PHP5.
echo str_repeat(" "=2C 256)."<PRE>"=3B flush()=3B
ob_implicit_flush(1)=3B

echo "Trace1=3D ".date(DATE_RFC822)."<br>"=3B
sleep (1)=3B

echo "Trace2=3D ".date(DATE_RFC822)."<br>"=3B
sleep (1)=3B

echo "Trace3=3D ".date(DATE_RFC822)."<br>"=3B





Best Regars=2C



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_--
Pontus Edvardsson [ Fr, 27 Februar 2009 11:56 ] [ ID #1991190 ]
PHP » gmane.comp.php.windows » Echo is buffered despite ob_implicit_flush(1)! Help please

Vorheriges Thema: Where can I find a working version of php_sqlite3.dll
Nächstes Thema: How To Start Your Own Online Business?