You are here: Re: Html include « HTML « IT news, forums, messages
Re: Html include

Posted by Paul Furman on 07/26/07 00:46

Nick Marks wrote:

> I think you are getting it wrong... if you want to include it onto a
> HTML page then you will have to do it manually ... Include will not
> work on HTML pages.. Alternatively you can use frames or IFrames

Hmm, OK you are right!
A php file will parse html though and can include perhaps any extension
on a ascii file, so:

INDEX.PHP:
<html>
<head>... blah
<body>... blah
<?
include "menu.txt";
include "body.txt";
?>
</body>
</html>

Probably someone will have another solution.

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.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

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