Page 1 of 1

parse php in template

Posted: Sun Jun 01, 2003 7:26 pm
by Little Spy
I have a class that parses template files I have by opening them like

Code: Select all

<?php
implode("", (file($this->template)));
?>
doing some of this and that in between and finally echoing out the file

if I wanted to have a php statement in that file like <?php include "this.html"; ?> how could make it parse it before echoing it?

Posted: Mon Jun 02, 2003 2:33 am
by []InTeR[]
Do you meen your where looking for the eval function