RE: [PHP] how to determine size of gz-handler output

2001-07-02 Thread scott [gts]
riday, June 29, 2001 6:54 AM > To: 'Php-General (E-Mail) > Subject: [PHP] how to determine size of gz-handler output > > > Hi all > > I'd like to know how small my content gets when i use > ob_gzhandler. > so far i tried > $cont=ob_get_contents(); >

Re: [PHP] how to determine size of gz-handler output

2001-07-01 Thread Christian Reiniger
On Saturday 30 June 2001 04:31, Richard Lynch wrote: > >I'd like to know how small my content gets when i use > >ob_gzhandler. > Does gz-handler not provide any facility for measuring its performance > or anything?... You'd think it would... Using gzencode () should perform identical (compress

Re: [PHP] how to determine size of gz-handler output

2001-06-30 Thread Richard Lynch
>I'd like to know how small my content gets when i use >ob_gzhandler. >so far i tried >$cont=ob_get_contents(); >$length=strlen($cont); >echo "\n"; > >but it outputs > > >while apache says in its logfile: >217.81.41.121 - - [29/Jun/2001:12:43:59 +0200] "GET / HTTP/1.1" 200 2028 [WILD GUESS ALERT!

Re: [PHP] how to determine size of gz-handler output

2001-06-30 Thread teo
Hi Sebastian! On Fri, 29 Jun 2001, Sebastian Stadtlich wrote: > Hi all > > I'd like to know how small my content gets when i use > ob_gzhandler. > so far i tried > $cont=ob_get_contents(); > $length=strlen($cont); try using $length = ob_get_length(); instead. > echo "\n"; > > but it outputs

[PHP] how to determine size of gz-handler output

2001-06-29 Thread Sebastian Stadtlich
Hi all I'd like to know how small my content gets when i use ob_gzhandler. so far i tried $cont=ob_get_contents(); $length=strlen($cont); echo "\n"; but it outputs while apache says in its logfile: 217.81.41.121 - - [29/Jun/2001:12:43:59 +0200] "GET / HTTP/1.1" 200 2028 i'm starting to get