Re: note 9620 added to include
| From: | J. M. Castagnetto | Date: | Wed, 15 Nov 2000 21:47:52 +0000 |
| Subject: | Re: note 9620 added to include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7733@lists.php.net to get a copy of this message | ||
Look at the filesystem functions, as well as the
eval() function.
Your note will be removed, the annotations to the
manual are not the place to request support.
--- jason@greenhell.com wrote:
> 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
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/