You are here: Re: Executing PHP in a variable? « PHP Programming Language « IT news, forums, messages
Re: Executing PHP in a variable?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация