Jump to content

turn off output buffering


ankhmor

Recommended Posts

Hi. I have a problem with output buffering.

I'm using wamp.

 

I've tried setting the php.ini file to output_buffering = 0 and off

I've tried using flush() and ob_flush(), separetly and together.

I've tried turning on implicit_flush.

 

Nothing works. Any ideas?

 

I'm using the flowing code to test right now:

echo 'starting...<br/>';
for($i = 0; $i < 5; $i++) {
  print "$i<br/>";
  flush();
  sleep(2);
}
print 'DONE!<br/>';

Link to comment
https://forums.phpfreaks.com/topic/230627-turn-off-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.