Possible Duplicate:
PHP - How Detect if Output Buffering is Turned On
How can I check in PHP if output_buffering is set to On? I have to troubleshoot a site and I have no access to the hosting panel.
Something like:
if(output_buffering == 'On')
{
echo 'It is On';
}
else
{
echo 'It is NOT On';
}
Thank you!
if(ini_get('output_buffering')) { echo 'it is on'; }
– Fraud