Forum Moderators: coopster
I want to be able to load a PHP file that I will use as a template, make
some variable substitutions, and then return the resulting document to the
visitor.
What I can't figure out is, how to 'execute' the PHP script code in the PHP
file that acts as a template.
If I use any of the PHP "open/load file" functions, I won't get the normal
expansion/execution of PHP script code like I would if the web server served
up the PHP file, right?
If I am correct about this, how can I make variable substitutions in a
desired PHP template file and still have the embedded PHP script code be
executed by the server?
thx