Perhaps. :) But it seems you're missing the point. Read here:
http://www.php.net/manual/en/function.session-start.php
Specifically, the second note:
Note: Use of zlib.output_compression is recommended rather than
ob_gzhandler
zlib.output_compression != ob_start('ob_gzhandler')
Which brings us back to the original point. How does one go about
enabling/disabling zlib.output_compression from within a script?
ini_set('zlib...', 'On|Off') does not work.
Jaime Bozza
-----Original Message-----
From: Mike Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 10:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] Switching zlib.output_compression, bug #16109
ob_start('ob_gzhandler');
Shouldn't this be on php-general by now? ;-)
> let me get this straight.. you can turn off output_buffering = on
inside
> php?
>
> then whats the problem with zlib, just make it output_buffer, and
AFTER
that
> check the ini value, weather to compress that data or not.. so it
could be
> turned off runtime, or am i wrong?
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php