note 43980 deleted from function.ob-start by tomsommer
| From: | tomsommer@php.net | Date: | Sun, 11 Jul 2004 14:07:07 +0000 |
| Subject: | note 43980 deleted from function.ob-start by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73051@lists.php.net to get a copy of this message | ||
Note Submitter: jackson@phpenterprise.net
----
If output buffering is turned on in php.ini, calling ob_start will throw a Notice.
I just added to following ini check and it works nice:
<?php
if ('0' == ini_get('output_buffering')) {
ob_start();
}
?>