note 12067 rejected and deleted from function.readfile.php by jmcastagnetto

From: Date: Wed, 21 Mar 2001 14:03:14 +0000
Subject: note 12067 rejected and deleted from function.readfile.php by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-12639@lists.php.net to get a copy of this message
I've noticed that calling readfile() with an "http://" filename breaks output buffering (eg, gzip compression) in PHP 4.0.3pl1 - the result is that headers_sent() returns true. A workaround is to use fopen/fgets/fclose instead, which works fine with output buffering.

« previous php.notes (#12639) next »