Create new php page using PHP
Posted: Thu Nov 30, 2006 9:08 am
Hello everyone.
I'm looking for a script/function that will allow me to use PHP to create another PHP page based on a template. I want the script to be able to stick some variables into a template, then generate a static PHP page on my server. I know I can use PHP to make a directory, but can I create a template-based file and put it in that directory?
Thanks
Tom
I'm looking for a script/function that will allow me to use PHP to create another PHP page based on a template. I want the script to be able to stick some variables into a template, then generate a static PHP page on my server. I know I can use PHP to make a directory, but can I create a template-based file and put it in that directory?
Thanks
Tom