PHP NOTES 11 NOTE 10883 DELETED FROM FUNCTION FREAD BY WEZ
Date: 30 Jun 2003 16:50:23 -0000

Subject: note 10883 deleted from function.fread by wez
From: wez@no-spam

Note Submitter: asdf9871234@no-spam
----

[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@no-spam
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>