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
; 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',
; 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.
From: Ben Dunlap [mailto:bdun...@agentintellect.com]
Sent: September-18-09 1:41 PM
To: Jim Lucas
Cc: Ernie Kemp; firstname.lastname@example.org
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.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php