Reply to Re: Making one HTML page from more than one file

Your name:

Reply:


Posted by Adrienne Boswell on 04/22/07 08:24

Gazing into my crystal ball I observed Desmond <otuatail@aol.com> writing
in news:1177227966.693986.119770@b58g2000hsg.googlegroups.com:

> What I ment is you cant use the statment
>
> <?php
> include "filename.html";
> ?>
> on a file with an extension of .html it will not work the file has to
> be changed to .php.
> php is not used in PURE html
>
>

No, you can use anything in there, as long as the server can parse it.
The extension does not have to be php either, as long as the server has
been configured to parse html as php.

However, I will say that one should not try to include an entire HTML
page within another, because one would get duplicate head elements. As
when replying to usenet posts, only include the relevant information.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

[Back to original 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

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