note 9620 added to include
| From: | jason at greenhell dot com | Date: | Wed, 15 Nov 2000 18:18:21 +0000 |
| Subject: | note 9620 added to include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7718@lists.php.net to get a copy of this message | ||
I know this isn't possible unfortunately, but I'm wondering what would be an alternative
to including a file and returning its contents into a variable. Such as:
$blah = include("foo.html");
.. so that $blah would simply be a string containing the output of foo.html.
http://www.php.net/manual/function.include.php