RE: [PHP4BETA] Strange behavior - output_buffering

From: Date: Wed, 03 Nov 1999 17:33:59 +0000
Subject: RE: [PHP4BETA] Strange behavior - output_buffering
Groups: php.version4 
Request: Send a blank email to php-version4+get-5865@lists.php.net to get a copy of this message
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. Giancarlo Bonansea Technology Consultant TESEtec Tecnologia e Solucoes Educacionais Ltda. Sao Paulo - SP - Brazil TEL +55-11-5182-2155 R.204 FAX +55-11-5182-9823 -----Original Message----- From: garyb@fxt.com [mailto:garyb@fxt.com] Sent: Wednesday, November 03, 1999 3:23 PM To: Giancarlo Bonansea Cc: php4beta@lists.php.net Subject: Re: [PHP4BETA] Strange behavior - output_buffering Giancarlo said: > I can't get "output_buffering" to work. It's turned on in PHP.INI, but it doesn't > matter if is ON or OFF. The behavior is always the same. If I use the header() function > after sending output, there's a warning telling that you cannot send headers after data, > and the page stops processing. If I understand what you said, this is correct behavior. You aren't supposed to send headers after data. I don't know if the page should stop processing however. Gary Bickford

« previous php.version4 (#5865) next »