Hi!
ist das auch okay wenn ich das nur in die php.ini schreibe, oder findet dann keine Überprüfung mehr statt?
Was schreibst Du in die php.ini?
Unter [link.http://de3.php.net/manual/de/function.ob-gzhandler.php] steht als Anmerkung:
You cannot use both ob_gzhandler() and ini.zlib.output_compression.
Also note that using ini.zlib.output_compression is preferred over
ob_gzhandler().
ini.zlib.output_compression = On
ist demnach also sowieso die bessere Idee, nur hat nicht jeder diese Möglichkeit hierzu.
Aber auch hier lohnt ein Blick ins (englische!) Manual: http://de3.php.net/manual/en/ref.zlib.php#ini.zlib.output-compression
zlib.output_compression boolean/integer
Whether to transparently compress pages. If this option is set
to "On" in php.ini or the Apache configuration, pages are compressed
if the browser sends an "Accept-Encoding: gzip" or "deflate" header.
"Content-Encoding: gzip" (respectively "deflate") and "Vary:
Accept-Encoding" headers are added to the output.
Grüße
Andreas
SELFHTML Linkverzeichnis: http://aktuell.de.selfhtml.org/links/