Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 22nd, 2005, 09:13 AM
Registered User
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default file inserting in HTML.

Can anyone tell me how to insert a HTML file in to another HTML file?
Say, I am having an HTML file viz. Container.html and another file named Source.html, now I want to include Source.html into Container.html, so that if I make a change in Source.html it reflects to Container.html.

Thanks in advance.:)

Old June 22nd, 2005, 03:44 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

The common method of doing htis is called Server Side Includes (SSI's) see http://bignosebird.com/ssi.shtml you can also do this to some extent on the client side - see http://builder.com.com/5100-6371-5172019-1-1.html. Another server side option would be to have your server side code open the file in question adn the read it and print it out to the response buffer alongside the rest of the outputted HTML.

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert HTML File to PDF file in vb.net gaurikhot .NET Framework 2.0 4 June 16th, 2014 02:33 AM
Getting a Text file from a HTML File or web page rajesh.java Java Basics 1 January 20th, 2007 08:36 AM
Inserting data into a XML file zion99 ASP.NET 2.0 Basics 0 July 17th, 2006 09:57 AM
HTML editor expert - inserting image itHighway Javascript How-To 0 May 9th, 2005 06:18 PM
Inserting a file into a table of a database Hari_Word ADO.NET 1 August 20th, 2004 05:15 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.