RE: [PHP] PHP Header issue
| From: | Ernie Kemp | Date: | Fri, 18 Sep 2009 17:56:47 +0000 |
| Subject: | RE: [PHP] PHP Header issue | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298163@lists.php.net to get a copy of this message | ||
I think you may have something there Ben.
This code is in my php.ini file. This was 'on' by default.
; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit. You can enable output buffering during runtime by calling the output
; buffering functions. You can also enable output buffering for all files
by
; setting this directive to On. If you wish to limit the size of the buffer
; to a certain size - you can use a maximum number of bytes instead of 'On',
as
; a value for this directive (e.g., output_buffering=4096).
output_buffering = On
I will comment it out and try on my local system again.
Thanks,
..../Ernie
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
-----Original Message-----
From: Ben Dunlap [mailto:bdunlap@agentintellect.com]
Sent: September-18-09 1:41 PM
To: Jim Lucas
Cc: Ernie Kemp; php-general@lists.php.net
Subject: Re: [PHP] PHP Header issue
> if ... you have
> output_buffering option enabled in the php configuration.
Which is probably the case on the OP's local machine, and would
explain why the code doesn't fail for him there.
Ben