Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Yasuo Ohgaki
Stefan Roehrich wrote: > On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: > >>I'm -1 for features that silently fails. >>User can check ini_set return value if it is successful or not. >>So I'm 0 for ini_set("zlib.output_compresion","Off"); > > > I don't understand your first two sentences, what do

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Stefan Roehrich
On 2002-06-26 19:55:33, Marcus Börger wrote: > A hosting company would use mod_gzip if compression is necessary > for them Not necessarly. It does make sense to use transparent compression only for dynamically created pages, so that static pages can be cached. And if you are a user of a mid size

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Marcus Börger
At 18:37 26.06.2002, Stefan Roehrich wrote: >On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: > > I'm -1 for features that silently fails. > > User can check ini_set return value if it is successful or not. > > So I'm 0 for ini_set("zlib.output_compresion","Off"); > >I don't understand your first two s

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Stefan Roehrich
On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: > I'm -1 for features that silently fails. > User can check ini_set return value if it is successful or not. > So I'm 0 for ini_set("zlib.output_compresion","Off"); I don't understand your first two sentences, what do you mean with "silently fails"? The

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Yasuo Ohgaki
I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set("zlib.output_compresion","Off"); -- Yasuo Ohgaki Jaime Bozza wrote: > Unfortunately, in some cases, this won't work for me. The > "image" scripts aren't always in their

RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-25 Thread Jaime Bozza
start of a script. Apparantly, everyone seems against that. :) Jaime Bozza -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 7:47 PM To: [EMAIL PROTECTED]; Jaime Bozza Cc: 'Mike Hall' Subject: Re: [PHP-DEV] Switching zlib.output_compres

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Yasuo Ohgaki
Jaime Bozza wrote: > And how do you set zlib.outputcompression on at runtime? > .htaccess if you are using Apache. If you use web server other than Aapche, use ob_gzhandler() I don't like ob_gzhandler() since PHP will misbehave easily by user's mistakes. However, it should be used in this case.

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Mike Hall
Well write your own callback function for ob_start then! ;-) > 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

RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Jaime Bozza
D]] 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-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Mike Hall
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..

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Tit \"Black\" Petric
- From: "Mike Hall" <[EMAIL PROTECTED]> To: "Jaime Bozza" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 5:31 PM Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 > I never set it in the ini, only set it at runtime

RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Jaime Bozza
And how do you set zlib.outputcompression on at runtime? -Original Message- From: Mike Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 10:32 AM To: Jaime Bozza; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 I never set it in the ini

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Mike Hall
I never set it in the ini, only set it at runtime. - Original Message - From: "Jaime Bozza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Mike Hall'" <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 4:31 PM Subject: RE: [PHP-DEV] Swit

RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Jaime Bozza
Bozza; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 I simply don't use output compression for images - Original Message - From: "Jaime Bozza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Stefan Roehri

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Mike Hall
I simply don't use output compression for images - Original Message - From: "Jaime Bozza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Stefan Roehrich'" <[EMAIL PROTECTED]>; "'Mike Hall'" <[EMAIL PROT

RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Jaime Bozza
ke Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 9:41 AM To: Stefan Roehrich; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 I would venture that this is a bug in Netscape, not a bug in PHP and therefore not PHP's responsibility to fix.

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Tit \"Black\" Petric
epts zipped content, when it clearly > doesn't accept zipped images. > > Mike > > - Original Message - > From: "Stefan Roehrich" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 24, 2002 3:23 PM > Subject: [PHP-DEV] Switching zlib

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Mike Hall
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 3:23 PM Subject: [PHP-DEV] Switching zlib.output_compression, bug #16109 > Hello! > > There has been a bug report (#16109) about a bug in Netscape 4.79, > which doesn't display images if Content

[PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-24 Thread Stefan Roehrich
Hello! There has been a bug report (#16109) about a bug in Netscape 4.79, which doesn't display images if Content-Encoding: gzip is used. After thinking about a browser detection config flag for zlib.output compression, at LinuxTag we discussed, that a more general solution would be better, that