note 69056 added to function.flush

From: Date: Mon, 21 Aug 2006 20:21:52 +0000
Subject: note 69056 added to function.flush
Groups: php.notes 
Request: Send a blank email to php-notes+get-116132@lists.php.net to get a copy of this message
If you use the flush() command, even if you haven't sent anything to the browser, the headers_sent() command will return true. If you are trying to flush an empty buffer before checking if the headers are sent, they will always appear sent. This is contradictary to the documentation since the output buffer doesn't store headers. ---- Server IP: 216.194.113.175 Probable Submitter: 69.87.138.148 ---- 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.flush.php Edit -- https://master.php.net/note/edit/69056 Del: integrated -- https://master.php.net/note/delete/69056/integrated Del: useless -- https://master.php.net/note/delete/69056/useless Del: bad code -- https://master.php.net/note/delete/69056/bad+code Del: spam -- https://master.php.net/note/delete/69056/spam Del: non-english -- https://master.php.net/note/delete/69056/non-english Del: in docs -- https://master.php.net/note/delete/69056/in+docs Del: other reasons-- https://master.php.net/note/delete/69056 Reject -- https://master.php.net/note/reject/69056 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116132) next »