note 21772 added to function.readfile
| From: | kode4 at yahoo dot com | Date: | Sun, 26 May 2002 08:59:14 +0000 |
| Subject: | note 21772 added to function.readfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31044@lists.php.net to get a copy of this message | ||
In response to wgardner's post, reading a file is by design intended to do just that read
the file.
To read a file *and* have it parsed use include() instead:
include("path_to_filename/file.inc");
--
http://www.php.net/manual/en/function.readfile.php
http://master.php.net/manage/user-notes.php?action=edit+21772
http://master.php.net/manage/user-notes.php?action=delete+21772
http://master.php.net/manage/user-notes.php?action=reject+21772