Is it possible to change some file-contents from a file before including it?
I basically want to make a really simple template system. To do so I just include the templates, which are HTML files being able to contain PHP code.
My problem:
To make it easier to use I want to replace all {something}
in the to be included contents with <?php echo $something; ?>
. Is it somehow possible?