You are here: Re: PHP include and changing page names « HTML « IT news, forums, messages
Re: PHP include and changing page names

Posted by mbstevens on 11/12/07 20:03

Ed Mullen wrote:

>
> But, wouldn't that mean that the HTML that I want to include using PHP
> would then be physically present in all the html files? Or am I
> misunderstanding?
>
Yes. Space is usually not a problem, since the extra code is only a K or less
per file. The time it takes to serve the page is also not a problem,
since no program except the server itself is called to serve the page.

An example of the kind of site a preprocessor would -not- work for would be
newegg.com. On a site like that, you're pulling little bits and pieces of
information from all sorts of places to generate a page.
But if your pages are mostly static, a preprocessor is a good way to
do things.

http://www.htmlhelp.com/links/preprocessors.html

....has a nice selection. Or just write your own for your special needs.
It doesn't take a lot of effort.

 

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

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