Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: one plus seven?
(Example: nine)

The Note You're Voting On

mazsolt at yahoo dot com
21 years ago
if you want to send an output to the browser (which accepts gzip), and you haven't set the buffering callback ob_start("ob_gzhandler"), you may use the gzencode() function.

header("Content-Encoding: gzip");
echo gzencode("some output", 9, FORCE_GZIP);

<< Back to user notes page

To Top