Re: how to determine size of gz-handler output
| From: | teo at gecadsoftware dot com | Date: | Sat, 30 Jun 2001 10:56:49 +0000 |
| Subject: | Re: how to determine size of gz-handler output | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55619@lists.php.net to get a copy of this message | ||
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 "<!-- $length -->\n";
>
> but it outputs
> <!-- 17280 -->
-- teodor