Re: Cool PHP Tricks/Features ?
| From: | Girish Nath | Date: | Tue, 14 May 2002 16:30:09 +0000 |
| Subject: | Re: Cool PHP Tricks/Features ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97571@lists.php.net to get a copy of this message | ||
Hi Steve
http://www.php.net/manual/en/function.ob-gzhandler.php
http://www.devshed.com/Server_Side/PHP/OutputBuffering/page8.html
Basically it allows output to be compressed with gzip encoding as it's sent
to the browser. I had a webpage that was part of an admin section of a
website, it was 153K in size and getting a lot of hits. The result now is
the page gets compressed to 17K and therefore uses less bandwidth/faster to
download, this all happens transparently from the visitors point of view.
Regards
Girish
--
www.girishnath.co.uk
"Steve Bradwell" <SteveB@compxnet.com> wrote in message
news:57A1618E7109D311A97D0008C7EBB3A1CBB31E@KITCHENER...
> HI Girish,
> I'm pretty new to php, using for about 8 months now, I haven't heard of
> these, can you go into some detail for me?
>
> Thanks,
>
> Steve
>
> -----Original Message-----
> From: Girish Nath [mailto:girishn@btinternet.com]
> Sent: Tuesday, May 14, 2002 9:28 AM
> To: php-general@lists.php.net
> Subject: [PHP] Cool PHP Tricks/Features ?
>
>
> Hi
>
> I've been using PHP for about 2 years now but only just discovered
> ob_gzhandler and gzip/compressing http output.
> It's something i wish i'd found out about earlier because even though it's
a
> simple concept the result blew me away :)
>
> Anyway, i just wanted to know of any other cool tricks/features that you
> guys are using that others could have overlooked.
>
> Thanks
>
>
> Girish
> --
> www.girishnath.co.uk
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php