Re: Output buffering
| From: | Shawn McKenzie | Date: | Wed, 07 Oct 2009 13:08:56 +0000 |
| Subject: | Re: Output buffering | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298724@lists.php.net to get a copy of this message | ||
Arno Kuhl wrote:
>
> Thanks David. After taking another look at the description for ob_start() I
> began to suspect there was a difference, but the manual doesn't mention
> anything about it. And the fact they use the same terminolgy for both the
> settings and the functions is confusing. I can see from tests that the
> htaccess/ini settings have no obvious effect on the ob functions (maybe
> buffer size?).
>
> Cheers
> Arno
>
The ini setting tells PHP to automatically start output buffering at the
beginning of each script. If it is off and you execute an ob_start() to
start buffering, the ini setting will still be off.
--
Thanks!
-Shawn
http://www.spidean.com