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

Posted by Peter Fox on 11/12/06 09:06

Following on from puzz's message. . .
>
>Why don't you just:
>
>include( TEMPLATEPATH . '/somefile.php' );

Is the Right Answer - (At last)

BTW the OP might also want to search the manual for "include path".
Either run time or php.ini setting options.

--
PETER FOX Not the same since the pancake business flopped
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>

 

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

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