|
-
Jul 14th, 2005, 01:54 AM
#1
Thread Starter
Frenzied Member
[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?
-
Jul 14th, 2005, 02:09 AM
#2
Thread Starter
Frenzied Member
Re: A question on ini_set()
anyone?
-
Jul 14th, 2005, 02:17 AM
#3
Re: A question on ini_set()
-
Jul 14th, 2005, 02:23 AM
#4
Thread Starter
Frenzied Member
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?
-
Jul 14th, 2005, 02:24 AM
#5
Thread Starter
Frenzied Member
Re: A question on ini_set()
or.. when the script ends, will output buffeing be turned off?
-
Jul 14th, 2005, 02:26 AM
#6
Thread Starter
Frenzied Member
Re: A question on ini_set()
what happens to a script if I don't call ob_end?
-
Jul 14th, 2005, 02:38 AM
#7
Re: A question on ini_set()
If the script ends the buffer is just flushed. So you don't have to call ob_end();
-
Jul 14th, 2005, 07:23 PM
#8
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|