Ask Leo! by Leo A. Notenboom

How do I include one HTML file inside another?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

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 

Html Attribute for -- Marquee Slide Image and Text ---
http://html-lesson.blogspot.com/2008/06/marquee-slide-image-text.html

Posted by: sezer at July 13, 2008 12:41 PM

for apache, when you want to use Server Side Includes, with the default configuration, you will have to have your file 'file.shtml' and not just 'file.html'. This is easy to trip over when you first start.
I believe that you can have apache look at all 'html' files for includes, but there is a penalty for this, which I can't recall -could be efficiency.

Posted by: Henry Leparskas at July 16, 2008 8:36 AM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've found that ".shtml", while common, is not at all
standard. It definitely pays to understand your specific web
server's configuration.

Also, scanning all .html (and .inc) is definitely possible,
and not a large performance hit at all. This site, for
example, is configured that way.

Leo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIf33UCMEe9B/8oqERAgHjAJ4vvXyNhWpDmcRM5pHuHK5dp1Hi1ACgiVua
BPNQ1KC/NkFsfqPPBwRR0xI=
=KL4T
-----END PGP SIGNATURE-----

Posted by: Leo at July 17, 2008 10:14 AM

Couldn't get the included file to display correctly. Used php require_once("BaseMenu.php"): You can see the problem at URL: http://medical.julseth.net/disMP.php

Posted by: Bruce A. Julseth at August 3, 2008 7:54 PM

Excellent site, It was pleasant to me.

Posted by: cheap propecia at May 30, 2009 2:20 PM

Thank you! It works with an URL?

Posted by: Gamel at November 2, 2009 6:28 PM
Comment Page:  1  |  2  |  3  |  4 
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.

Question? Ask Leo!