Thanks for the helpful response laserlight.
I am just testing how I will include a php file and having problems. For example I use this:
$content = eregi_replace('{{[a-z0-9\.#]+}}', '<?php echo \'test\'; ?>', $content);
And the page simply displays <?php echo 'test'; ?> in it's place and doesn't include the file.
I realise I am trying to include the file too late in the process, can anyone tell me a way around this?
Thanks!
Will.