Posted by Andy Hassall on 11/11/06 20:08
On 11 Nov 2006 12:00:17 -0800, "brett" <account@cygen.com> wrote:
>I'm doing a file include as
>
><?php $content = file_get_contents(TEMPLATEPATH . '/somefile.php');
>echo $content; ?>
>
>In somefile.php, there is PHP code. How can I execute the code once
>$content is displayed as above?
http://groups.google.co.uk/groups?q=Executing%20PHP%20in%20a%20variable
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|