note 43980 added to function.ob-start
| From: | jackson at phpenterprise dot net | Date: | Sun, 11 Jul 2004 13:56:54 +0000 |
| Subject: | note 43980 added to function.ob-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73050@lists.php.net to get a copy of this message | ||
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();
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.ob-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43980
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43980&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43980&report=yes
Search -- http://master.php.net/manage/user-notes.php