You are here: Include a file « HTML « IT news, forums, messages
Include a file

Posted by Tony Wainwright on 02/22/06 12:35

Hi
I am teaching myself how to develop websites for my own benefit and have
come across something that I don't know how to do. I want to be able to
include in every page a file that contains information that will be
displayed on every page i.e. copyright info. I don't want to have to
re-write every page when I change this information - I just want to be able
to edit it once. I know it can be done in PHP (as shown below), but I want
to be able to do it in HTML.
<?php
include_once ('includes/copyright.html');
?>
Is this possible?

Thanks
Tony

 

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

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