Re: [PHP4BETA] Strange behavior - output_buffering
| From: | Thies C. Arntzen | Date: | Wed, 03 Nov 1999 18:47:27 +0000 |
| Subject: | Re: [PHP4BETA] Strange behavior - output_buffering | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5873@lists.php.net to get a copy of this message | ||
just checked - works for also when i enable it in php.ini
i can (output_buffering=1; in php.ini):
<?
echo "stuff...\n";
Header("Buffered: Yes");
?>
hmm,
On Wed, 3 Nov 1999, Thies C. Arntzen wrote:
> On Wed, 3 Nov 1999, Teodor Cimpoesu wrote:
>
> > > Giancarlo Bonansea wrote:
> > >
> > > This should be the correct behavior only if output_buffering was OFF.
> > > With output_buffering turned ON, it should accept headers until the
> > > page is done and sent to the client.
> > >
> > I can confirm that with an older CVS snapshot the ob worked whereas on
> > a recent version didn't so I switched to php3 (cause the work has to be
> > done a.s.a.p.)
> > I have no idea how to debug it...
>
> the output-buffering works (in current CVS)
>
> try:
>
> <?
> ob_start();
> echo "hallo\n"; flush();
> header("Context: thies");
> ob_end_flush();
> ?>
>
>
> what does *NOT* work is the php.ini output_buffering flag - only the API
> calls start and end the OB-System.
>
> i'll look into that now!
>
> tc
>
>
> > --
> > CIMPOESU Teodor, Web Programmer
> >
> > @ DIGICOM S.A. Bucharest, Romania
> > @ Internet, site development
> > @ teo@digiro.net,+(401)-330.47.28
> >
> > official home page ~ http://www.digiro.net/
> > Internet web page ~ http://internet.digiro.net/
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail: php4beta-help@lists.php.net
> > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
> >
> >
>
>
> Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
> Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> Hammerbrookstr. 93 20097 Hamburg / Germany
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany