note 10883 deleted from function.fread by wez
| From: | wez@php.net | Date: | Mon, 30 Jun 2003 16:50:23 +0000 |
| Subject: | note 10883 deleted from function.fread by wez | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51224@lists.php.net to get a copy of this message | ||
Note Submitter: asdf9871234@mukau.net
----
[Editor's Note:
If you just wish to display the contents of a file, this should be done with the passthru function.
The reason for this is that any file that is included will be parsed by the PHP parser, while
passthru() will only display the file's contents.
--zak@php.net]
If you simply want to print out the contents of a file, rather than read a file to a string and
print the string, it is far easier to go <em>include ($filename);</em>