RE: [PHP-DEV] compressed buffered output

From: Date: Wed, 13 Dec 2000 23:45:53 +0000
Subject: RE: [PHP-DEV] compressed buffered output
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41257@lists.php.net to get a copy of this message
Is php doing somthing silly like sending a text/html header by default (check you php.ini) can you see the correct header being sent anywhere in the grabage? James > -----Original Message----- > From: Blake Schwendiman [mailto:blake@intechra.net] > Sent: 13 December 2000 23:43 > To: James Moore; php-dev@lists.php.net > Subject: RE: [PHP-DEV] compressed buffered output > > > No, it's all within my LAN. No proxy servers here. I have a small Delphi > App that I can use to see the returned headers and so I set up a test to > provide the 'Content-Encoding: deflate' information and I get this back: > > HTTP/1.1 200 OK > Date: Thu, 14 Dec 2000 00:24:03 GMT > Server: Apache/1.3.11 (Unix) PHP/4.0.4RC5 > X-Powered-By: PHP/4.0.4RC5 > Hello: world > Content-Encoding: deflate > Connection: close > Content-Type: text/html > > I can do the same for gzip and I get the proper response. > However, none of > the browsers I have available decompress the information properly. I just > see the garbage characters in the browser. > > Blake > > -----Original Message----- > From: James Moore [mailto:jmoore@php.net] > Sent: Wednesday, December 13, 2000 4:01 PM > To: Blake Schwendiman > Cc: André Langhorst; zeev@zend.com; PHP Development > Subject: RE: [PHP-DEV] compressed buffered output > > > By any chance are you using a proxy that doesnt support this?? > > James > -- > James Moore > PHP Quality Assurance Team > jmoore@php.net > > > -----Original Message----- > > From: Blake Schwendiman [mailto:blake@intechra.net] > > Sent: 13 December 2000 22:51 > > To: André Langhorst; zeev@zend.com; PHP Development > > Subject: RE: [PHP-DEV] compressed buffered output > > > > > > I couldn't get this to work until I set the following values in > > the php.ini > > file: > > > > output_buffering = On; > > output_handler = ob_gzhandler; > > > > Now I'm getting compressed output, but none of the browsers that > > I've tested > > it with seem to work. I have tried IE 5.5, Netscape 6 and Opera 4.02. > > > > What's the status of this? > > > > Thanks, > > Blake Schwendiman > > Intechra LLC > > > > -----Original Message----- > > From: André Langhorst [mailto:A.Langhorst@itbnet.de] > > Sent: Tuesday, November 21, 2000 5:42 PM > > To: zeev@zend.com; PHP Development > > Subject: Re: [PHP-DEV] compressed buffered output > > > > > > > 0:49 zeev-pts/4 mail:~/public_html> telnet 0 8080 > > > Trying 0.0.0.0... > > > Connected to 0 (0.0.0.0). > > > Escape character is '^]'. > > > GET /~zeev/test.php HTTP/1.0 > > > Accept-Encoding: gzip > > > > still doesn't work for me (linux,w32,ouput_handler,ob_start()), none), > > maybe I'm to stupid :) > > > > gzencode() and setting manual header() works fine... > > > > would be nice if someone else tries. > > > > andré > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#41257) next »