Jump to content

output buffering


arrn

Recommended Posts

I have a little problem, since i switched to fedora, and reinstalled php new.

the following code those not output buffering as well.
ob_start();
for ($i = 0; $i < 200; $i++)
{
  echo '<br>boooo';
  for ($z = 0; $z < 300; $z++)
  {
    echo '.';
  }
flush();
}
ob_end_flush();
echo "<br><br>bbb: ".ob_get_length();

Befor i reinstalled php new i saw nicely each line in the browser.. Now I wait about 30 sec, then the hole finish page displays.

I think I made a mistake at compile php.

have in the php.ini output_buffering = 0 tryed also with (off). Also with (on) and also with (4096) Is there something you have to compile in to make this work ?
Link to comment
https://forums.phpfreaks.com/topic/26727-output-buffering/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.