note 44396 deleted from function.readfile by didou

From: Date: Wed, 04 Aug 2004 18:32:58 +0000
Subject: note 44396 deleted from function.readfile by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73945@lists.php.net to get a copy of this message
Note Submitter: tbartels@cranemorley.com ---- For some reason using <? @readfile() ?> to do a force-download of an us-ascii text file prepends a single newline <? "\n" ?> to the stream. I haven't figured out if it is a bug or what to use alternately but if you have content that has critical formatting on the first line, know that using this method will give you an extra line at the top of the file.

« previous php.notes (#73945) next »