>I would like to insert a text file or RTF in the middle of a web page.
>For example... I have created a newsletter template and I would like and
>end user to be able to save the text for part of the newsletter on the
>webserver without allowing them to actually work with the newsletter
>I've heard SSI but I don't know the code. I use PWS at home and IIS4 at
SSI is very easy. First, select the place in your code where you want to
include the text file. Next, change the extension to INC instead of RTF or TXT
(it will not affect the end page - just think of SSI as cut & copy into your
HTML code). Next, make sure that you save the page with an ASP extension, or it
Now, you have two choices: you can use a virtual include or a file type include.
The difference is that one goes from the root of the server, and the other is
from the current directory. For example, if you are in the \Samples\webs\Test
directory of your web, and the file you want to include is in the same
directory, and is named "MyTextFile.inc", then simply use:
Now, if the file is in the \MyWeb\Test directory, then you would use:
Personally, I prefer "File" includes, and I simply place the INC file in the
same directory as the other pages of my web.
Hope this helps,