RE: [PHP-WEBMASTER] Output_buffering directive

From: Date: Wed, 01 Feb 2012 22:14:25 +0000
Subject: RE: [PHP-WEBMASTER] Output_buffering directive
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13004@lists.php.net to get a copy of this message
Yeah i phrased this wrong. ;) What i was trying to get at is that using just "On" is almost guaranteeing that you are going to have a problem. ;) On = Enabled and buffer is unlimited. (Use with caution) >>> will probably result in a white screen of death Off = Disabled Integer = Enables the buffer and sets its maximum size in bytes >>> an integer setting allows you to control this directive using a numeric value to avoid "blah" Edward Alexander Owner / Coder AIT-pro (805) 651-8516 Skype aitpro_edward http://www.ait-pro.com <http://www.ait-pro.com/> BulletProof Security Pro Support ************************************************************************* This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ************************************************************************* _____ From: Paul Dragoonis [mailto:dragoonis@gmail.com] Sent: Wednesday, February 01, 2012 2:02 PM To: Edward Cc: php-webmaster@lists.php.net Subject: Re: [PHP-WEBMASTER] Output_buffering directive On Wed, Feb 1, 2012 at 7:03 PM, Edward <edward@ait-pro.com> wrote: I believe that the output_buffering directive is only a numeric value and it does not have a text value equivalent of "On" or "Off". I could of course be mistaken, but I don't think I am. Hi Edward, On means On and Off means Off (or 0), which can be easily tested if you change the settings, reboot your SAPI and perform an ini_get('output_buffering') to see how the value changes. Feel free to re-clarify if I've missed another point you've made. Regards, - Paul Dragoonis. output_buffering = 0 - as in the numeric bytes value of zero and not "Off" output_buffering = 4096 - as in the numeric bytes value of 4096 bytes I guess if you use "Off" then since this is an invalid value setting then my assumption is that the default value will be applied or no value. http://php.net/manual/en/outcontrol.configuration.php Thanks, Ed Edward Alexander Owner / Coder AIT-pro (805) 651-8516 <tel:%28805%29%20651-8516> Skype aitpro_edward http://www.ait-pro.com BulletProof Security Pro Support ************************************************************************* This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ************************************************************************* -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.webmaster (#13004) next »