note 27110 added to function.readfile

From: Date: Sat, 23 Nov 2002 00:00:48 +0000
Subject: note 27110 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-39884@lists.php.net to get a copy of this message
If your wondering why your getting a weird number after the string when using: echo readfile("file.txt"); use this instead: $blah = readfile("file.txt"); echo $blah[0]; -- http://www.php.net/manual/en/function.readfile.php http://master.php.net/manage/user-notes.php?action=edit+27110 http://master.php.net/manage/user-notes.php?action=delete+27110 http://master.php.net/manage/user-notes.php?action=reject+27110

« previous php.notes (#39884) next »