note 93689 deleted from function.fread by danbrown

From: Date: Wed, 23 Sep 2009 01:29:36 +0000
Subject: note 93689 deleted from function.fread by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160962@lists.php.net to get a copy of this message
Note Submitter: jakefree at verizon dot net ---- If you just want to output the contents of a text file, use the include or require statements instead. They are not functions so they take up less overhead Also, they are easier to use, one line(command) versus three. Example fread() <textarea> <? $fh = fopen("textfile.txt", "r"); fread($fh); fclose($fh); ?> </textarea> VERSUS: <textarea><? include("textfile.txt"); ?></textarea>

« previous php.notes (#160962) next »