[snip]
Burhan Khalid wrote:
> Hello all :
> . . . is there a way to have PHP
> scan a file for a place holder and then replace it with something else?
I'm
> looking for a greymatter-like {{something}} type solution.
[/snip]
http://www.php.net/manual/en/function.fopen.php
http://www.php.net/manual/en/function.ereg-replace.php
You can use fopen() along with a reg ex replacement to do what you are
looking for.
HTH!
Jay