Forum Moderators: coopster
Also, I am using the require keyword to include an HTML file...is this the same thing as opening it? Can you modify a file when using require? The reason I ask is that I included an offiste HTML and the images did not show up properly...
if you're adding the external HTML file to your template it won't work like that, you'll have to modify all its links.
You can't modify a file that's included with require, you'll have to use fopen [php.net].
as far as your parsing goes, take a look at this.
preg_replace() [php.net]
I use this for parsing files and altering their content. It should do what you need to.