|
Posted by IWP506 on 11/08/32 11:26
Hey,
I have a lot of common things I want to be included on different pages
(i.e. the page title, the header, some buttons and such, etc.).
So I was thinking of putting things like "*PAGETITLE*" into my html
documents, then having a parse.php file that would replace *PAGETITLE*
with the title of the pages.
So I would structure my links like
"http://www.domain.com/parse.php?link=aboutUs.html". It would read in
aboutUs.html, do a string replacement in the appropriate places, then
output what's left.
But something is giving me the feeling that this is a bad idea.
What do you think?
Thanks
iwp506@gmail.com
Navigation:
[Reply to this message]
|