note 66694 added to function.header

From: Date: Fri, 26 May 2006 06:40:47 +0000
Subject: note 66694 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-112306@lists.php.net to get a copy of this message
<?php header('Content-Length: ', $size); ?> is not a so good idea. If the server has session.use_transient_sid enabled, you cannot know the correct size of output sent to client 'coz urls will be suffixed with strings like '?PHPSESSID=somemd5hash'. If you don't use this header, you have no problem because PHP will use Transfer-encoding: chuncked. <?php header('Vary: Content-language'); ?> may be ignored if you use ob_gzhandler. ---- Server IP: 217.174.203.10 Probable Submitter: 196.192.33.237 (proxied: 1.1 BNICL-PROXY) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/note/edit/66694 Del: integrated -- http://master.php.net/note/delete/66694/integrated Del: useless -- http://master.php.net/note/delete/66694/useless Del: bad code -- http://master.php.net/note/delete/66694/bad+code Del: spam -- http://master.php.net/note/delete/66694/spam Del: non-english -- http://master.php.net/note/delete/66694/non-english Del: in docs -- http://master.php.net/note/delete/66694/in+docs Del: other reasons-- http://master.php.net/note/delete/66694 Reject -- http://master.php.net/note/reject/66694 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112306) next »