[RESOLVED] A question on ini_set()
output_buffering "0" PHP_INI_PERDIR|PHP_INI_SYSTEM
I wanted to set output_buffering on... 'cause I can't quite get the headers right... and I don't have access to the php.ini. so I was thinking of using ini_set()...
but then it has options PHP_INI_PERDIR|PHP_INI_SYSTEM and as far as I can get it.. I cannot set it in scripts... Is there any other way to do this?
Re: A question on ini_set()
Re: A question on ini_set()
Re: A question on ini_set()
Yeah I found that one on my other post... Corned bee gave that idea... hmmm. I could try it...
tell me about ob_start() first.. do I need to end it too?
also when output_buffering variable is not set.. it's default is off right?
Re: A question on ini_set()
or.. when the script ends, will output buffeing be turned off?
Re: A question on ini_set()
what happens to a script if I don't call ob_end?
Re: A question on ini_set()
If the script ends the buffer is just flushed. So you don't have to call ob_end();
Re: A question on ini_set()
okies. :D
sorry If I'm getting pretty annoying there. LOL :D
But I did just ask them to change some settings for output_buffering in php.ini.
That way I won't have to change some code. :D