Re: [PHP] HTTP Compression

2002-06-14 Thread Daniel Tryba
On Fri, Jun 14, 2002 at 08:58:29AM +0100, Webmaster do Aborla.net wrote: I would like to know how can I compress the output of PHP through Zlib. You mean like: http://www.php.net/manual/en/function.ob-gzhandler.php -- Daniel Tryba -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] HTTP compression

2001-02-04 Thread Rasmus Lerdorf
I've just started experimenting with ob_start("ob_gzhandler") a bit, and I have found that if any output is generated before ob_start() is called, nothing at all gets compressed; if ob_start() is called before any output, everything is compressed. Is this the case, I mean, is this "by

RE: [PHP] HTTP compression

2001-02-04 Thread Alain Fontaine
d'origine- De : Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Envoye : dimanche 4 fevrier 2001 14:34 A : Alain Fontaine Cc : [EMAIL PROTECTED] Objet : Re: [PHP] HTTP compression I've just started experimenting with ob_start("ob_gzhandler") a bit, and I have found that if an

RE: [PHP] HTTP compression

2001-02-04 Thread Sean Cazzell
'origine- De : Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Envoye : dimanche 4 fevrier 2001 14:34 A : Alain Fontaine Cc : [EMAIL PROTECTED] Objet : Re: [PHP] HTTP compression I've just started experimenting with ob_start("ob_gzhandler") a bit, and I have found that if any

Re: [PHP] HTTP compression

2001-02-04 Thread Teodor Cimpoesu
Alain Fontaine wrote: Sean, Thanks, I see. How about headers ? Do they need to be compressed, too; in other words, do headers "belong" to the output ? a HTTP response is made of response header(s) and the response body. Only the body is compressed, and this is signaled in the headers so

RE: [PHP] HTTP compression

2001-02-04 Thread Alain Fontaine
Teodor, Looked at it from that point of view, the question was pretty stupid ! ;) -Message d'origine- De : Teodor Cimpoesu [mailto:[EMAIL PROTECTED]] Envoye : dimanche 4 fevrier 2001 19:09 A : Alain Fontaine Cc : Sean Cazzell; [EMAIL PROTECTED] Objet : Re: [PHP] HTTP compression