Re: Output buffering

From: Date: Wed, 07 Oct 2009 08:54:20 +0000
Subject: Re: Output buffering
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-298712@lists.php.net to get a copy of this message
2009/10/7 Arno Kuhl <akuhl@telkomsa.net>: > According to the manual I shouldn't see anything at all when > output_buffering is off (or if memory serves me correctly I should see an > error about "headers already sent" or something). Looking at phpinfo > confirms the value echoed by the script. Has something changed with output > buffering? Use echo ob_get_level() . "<br/>"; to find out how many levels of output buffering you are wrapped in. Whether output buffering is set to start automatically, and whether output buffering is on right now are two different things: ob_end_clean(); echo ob_get_level() . "<br/>"; echo ini_get('output_buffering') . "<br/>";

« previous php.general (#298712) next »