Ask Leo!

How do I include one HTML file inside another?

Home » Web » Web Site Management

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8 

Great and helpful article. The use of a proxy.pl script was really a great idea.

Posted by: Rob at April 17, 2004 4:50 PM

This article is really useful, especially for including headers into HTML pages.

Posted by: Ajay at June 4, 2004 3:28 PM

Oh man! That simple proxy.pl script saved my life! THANKS!

Posted by: Dan Kordik at July 17, 2004 4:30 AM

Great stuff - very pedagogical!

Posted by: Petter at November 10, 2004 4:49 AM

Very helpful - Thankyou!

Posted by: Roland at December 7, 2004 6:36 PM

The local IT guru said: "It is not possible to include HTML code to an existing html file. You have to edit all these 500 files and change the header manually."
No comment! Of course it is possible to edit 500 files at once and change strings in them, provided your local IT hero has not decided to have Micro$oft as OS and Livelink as web server.
Anyway, this hint helped me solving the problem, the local IT superman gave me week to finish the job. I had a lot of fun during this week ;o)

Cheers.

Posted by: Robert Persig at February 11, 2005 7:42 AM

I want to knowhow toinclude at html file into anothre thml file like we can do into ASP, PHP, JSP etc

Posted by: bhavika at February 28, 2005 8:50 PM

Thanks.
Had php and javascript worked out but needed to provide remote files via ssi also.
Well done on an informative and highly practical article.

Posted by: Scotty at March 22, 2005 3:00 AM

This was a real help. Is it also possible to include text files in the same manner? I can't get it to work.

Posted by: Andrew at March 23, 2005 2:06 PM

this is just another more reliable verion of a previous post for php...


or

by doing it this way, you are making sure that the webserver no matter what brand will understand it, because >> alone is asp style..


the second choice >> include_once ensure that if a file being included to the page is already present it doesn't include it agaiin

Posted by: sindergoth at March 29, 2005 5:38 PM
Comment Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

To post a comment on "How do I include one HTML file inside another?", please return to that article's main page.

««   »»

Ask Your Question:


ask-leo.com
Web

Popular & Hot

Stay Informed

Weekly Newsletter

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!