RE: PHP Header issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx] 
Sent: September-18-09 1:41 PM
To: Jim Lucas
Cc: Ernie Kemp; php-general@xxxxxxxxxxxxx
Subject: Re:  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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux