Re: [WSG] .htm include file into another .htm

2006-01-19 Thread Elton Okada
On IIS you can use server side includes in a .htm file.Do this: Open IIS - website (righ button) - properties - home directory - configuration - Add. So, you will associate the .dll asp to .htm extension like this: Executable: C:\WINDOWS\system32\inetsrv\asp.dll Extension: .htmRegardsEltonOn

[WSG] .htm include file into another .htm

2006-01-18 Thread KJ Callender
Hi, I want to include a file to be included into about 10 htm pages, and to save time me updating them individually, i want to use a include file. Using standards, which is the best way to achieve this: 1. !--#include virtual=/included.htm -- 2. !--#include virtual=included.htm -- 3.

Re: [WSG] .htm include file into another .htm

2006-01-18 Thread Svip
Actually, the best way would be to use PHP, and besides, we do not tend to call them HTM pages, but rather HTML pages. And thus the filetype after its name is useless. It could be done as following in PHP: ?php include('included.html');? Which would not include your comment mark, and I do not

Re: [WSG] .htm include file into another .htm

2006-01-18 Thread Lachlan Hunt
Svip wrote: On 18/01/06, KJ Callender [EMAIL PROTECTED] wrote: I want to include a file to be included into about 10 htm pages, and to save time me updating them individually, i want to use a include file. Using standards, which is the best way to achieve this: 1. !--#include

Re: [WSG] .htm include file into another .htm

2006-01-18 Thread Charlie Bartlett
They work fine on IIS in windows, as long as yourusing .shtml or .asp as yourfile extension. As long as the code in the file you are calling is standards compliant,it doesn't make any difference how you call it. The browser will justtreat the code as if it were part of the calling page, just like

RE: [WSG] .htm include file into another .htm

2006-01-18 Thread Patrick Lauke
Svip Actually, the best way would be to use PHP, If it's only a case of including a piece of static content inside another page, there's really no advantage in using PHP over simple server-side includes. and besides, we do not tend to call them HTM pages, but rather HTML pages. Possibly

RE: [WSG] .htm include file into another .htm

2006-01-18 Thread Peter Firminger
This thread is really off topic so let's leave it here, but to correct something (sorry Lachlan)... This works on IIS as well, as long as it's a .shtml or .shtm file to tell IIS to parse it for any required processing (like an include) before serving it (unless your host doesn't allow them).

RE: [WSG] .htm include file into another .htm

2006-01-18 Thread Jona Decker
You wrote: Using standards, which is the best way to achieve this: 1. !--#include virtual=/included.htm -- 2. !--#include virtual=included.htm -- 3. !--#include file=included.html -- I don't think the way you include has anything to do with standards. *What* you include does...that