note 14356 added to function.header.php

From: Date: Fri, 27 Jul 2001 12:02:08 +0000
Subject: note 14356 added to function.header.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15941@lists.php.net to get a copy of this message
i've find solution by myself :-) last code was not perfect, this works fine: ---- <?php ob_start(); ?> <!--- html page content here ---> <?php header("Content-Length: ".ob_get_length()); ob_end_flush(); ?> ---- maybe you need to add the header length size in the page length to let cache servers work correctly. i've find the code in the manual page: http://www.php.net/manual/en/function.ob-get-length.php bye, albero. http://www.php.net/manual/en/function.header.php

« previous php.notes (#15941) next »