Re: [PHP] Parsing a file (fopen) and replacing text...

2003-07-12 Thread Justin Farnsworth
Quiller wrote: You can certainly do this with regular expressions, rewriting your source file. Why don't you just use Smarty templates and be over with it? _justin > > This is for a very inefficient skin script I'm writing; the CMS I am using > is based in PHP but generates static files, so in

[PHP] Parsing a file (fopen) and replacing text...

2003-07-12 Thread Quiller
This is for a very inefficient skin script I'm writing; the CMS I am using is based in PHP but generates static files, so in order to change skins I am opening the page in question and loading it into $url. From there I do an ereg and take out what I need. The script itself can be found: http://eq