Top "Output-buffering" questions

Use output-buffering for questions related to the use of one or more buffers in order to optimize performance by batching write operations

PHP Flush/ob_flush not working

I've tried several attempts at getting my flush and ob_flush to work. I've tried setting the ini to allow …

php buffer output-buffering
PHP - htaccess - output_buffering

I have the following code in an htaccess file in my application root to turn output buffering on. php_value …

php .htaccess output-buffering
PHP: Suppress output within a function?

What is the simplest way to suppress any output a function might produce? Say I have this: function testFunc() { echo …

php function output-buffering
Calling ob_flush() and flush(), yet browser doesn't show any output until script finishes

Hi Please View Below Code : <?php ob_start(); echo "Start ...<br />\n"; for( $i = 0 ; $i < 10 ; $i++ ) { …

php output-buffering
Difference between ob_get_clean and ob_get_flush

They both seem to do the same thing: return the output buffer content to you and delete it aftewards. Which …

php output-buffering
Cannot use output buffering in output buffering display handlers

I've reinstalled Apache, and switched from PHP 5.3 to 5.6. Everything works, except I get this error, when calling ob_start(): Cannot …

php apache output-buffering ob-start
PHP Output Buffering

What are the methods to turn on output buffering either within a PHP script or using and htaccess file? I …

php output-buffering
PHP Output buffering, Content Encoding Error caused by ob_gzhandler?

Can anyone explain why I am receiving the following error? In the code, if the echo $gz; is commented out …

php gzip output-buffering
Prevent output buffering with PHP and Apache

I have a PHP script which sends a large number of records, and I want to flush each record as …

php apache output-buffering