parse php in template

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Little Spy
Forum Commoner
Posts: 31
Joined: Thu Oct 10, 2002 8:18 pm
Contact:

parse php in template

Post 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?
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

Do you meen your where looking for the eval function
Post Reply