You are here: Template Pages with Parse File « PHP Programming Language « IT news, forums, messages
Template Pages with Parse File

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация