Hey guys,
I am looking for a little bit of support. My current aim is to have a script which will call a page and add it to a template. For example, I have a page called page1.html and that page only contains html, which I then want to include into the template by typing in http://www.somedomain.com/index.php?page=page1.html. If the page exists, it will include it, otherwise it will redirect to a error page. Anybody give me some tips, or even better a script which would do this? (Sorry if i sound as if I am stealing scripts)
Thanks in advance for any help,
Earpy