note 81749 modified in function.flush by danbrown

From: Date: Sat, 14 Feb 2009 06:03:25 +0000
Subject: note 81749 modified in function.flush by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150651@lists.php.net to get a copy of this message
This will work for IE 7.0 :) Do not use within <PRE> tag because of the extra spaces send <?php function hardFlush() { // Like said in PHP description above, some version of IE (7.0 for example) // will not 'update' the page if less then 256 bytes are received // Send 250 characters extra echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; flush(); ob_flush(); } ?> --was-- This will work for IE 7.0 :) Do not use within <PRE> tag because of the extra spaces send function hardFlush() { // Like said in PHP description above, some version of IE (7.0 for example) // will not 'update' the page if less then 256 bytes are received // Send 250 characters extra echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; flush(); ob_flush(); } http://php.net/manual/en/function.flush.php

« previous php.notes (#150651) next »