Re: Re: ob_get_level
| From: | Yasuo Ohgaki | Date: | Mon, 25 Mar 2002 11:53:15 +0000 |
| Subject: | Re: Re: ob_get_level | ||
| References: | 1 2 3 4 5 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-81759@lists.php.net to get a copy of this message | ||
For ob_get_level test, it's okay to test if ob_start()
increments a nesting level by one. ob_get_level()
returns OG(nesting_level) basically.
At a moment, I don't have time to take a look
at what is really going on with trans sid and
zlib.output_compression.
You may need to use real web server SAPI.
Jan Lehnardt wrote:
Hi, On Mon, 25 Mar 2002 05:02:38 -0500 Yasuo Ohgaki <yasuo_ohgaki@yahoo.com> wrote:No. Session module registers buffer when trans sid is active. session.use_trans_sid=1 does not mean there is trans sid buffer.trans sid buffer is registered at level 1.even if session.use_trans_sid = 0 ?
Did you try with web server SAPI? (i.e. other than CLI, CGI SAPI) Anyway, if zlib.output_compression=On and ob_get_level() does not return more than 2, otuput compression is not enabled. -- Yasuo OhgakiThis makes result wrong and trans sid does not work :(IIRC, there is a bug report from user that trans sid does not work when zlib.output compression is enabled. (I forgot about the bug when I wrote previous mail)from my tests zlib.output_compression does not affect the ob level at all.
So your result is right. PHP is not working right :)what now? derick? Jan