update page now
PHP 8.5.6 Released!

Voting

: min(eight, eight)?
(Example: nine)

The Note You're Voting On

rush at logic dot cz
20 years ago
There is a work-around for the situation you need to get length of the gz-ed buffer.

ob_start();
ob_start('ob_gzhandler');

  ... output the page content...

ob_end_flush();  // The ob_gzhandler one

header('Content-Length: '.ob_get_length());

ob_end_flush();  // The main one

more info at http://www.edginet.org/techie/website/http.html

<< Back to user notes page

To Top