phpbar.de logo

Mailinglisten-Archive

[php] Frage zu ob_gzhandler

[php] Frage zu ob_gzhandler

Ralf Eggert r.eggert at travello.de
Sam Mai 24 15:28:13 CEST 2008


Hallo Felix und Toby,

> Before *ob_gzhandler()* actually sends compressed data, it determines 
> what type of content encoding the browser will accept ("gzip", "deflate" 
> or none at all) and will return its output accordingly. All browsers are 
> supported since it's up to the browser to send the correct header saying 
> that it accepts compressed web pages. If a browser doesn't support 
> compressed pages this function returns *FALSE*.

Ok, ich sollte doch wieder auf Primärquellen vertrauen und mich nicht
auf Hörensagen verlassen. :-)

Danke euch!

Gruss,

Ralf

php::bar PHP Wiki   -   Listenarchive