View Full Version : SHTML help, please


lambchopchoppy
03-31-2005, 08:44 PM
I have a question regarding this page of the website:

http://www.lissaexplains.com/html6.shtml

I changed all my pages to shtml and then wrote the code I wanted on all those pages on wordpad and saved as .txt. Then I inserted this code in:

<!--#include file="yourfilename.txt" -->

(changing yourfilename.txt to the name of my file, of course)

However, I didn't get the result I wanted. It ignored the code on the .txt file completely. I tried to look on the internet for shtml help, but I didn't find any. Is it because this thing doesn't work anymore? Also, when I changed my .html files to .shtml files, the default browser became Mozilla Firefox instead of Internet Explorer. When I tried to open with IE, it didn't work. This is really weird...

Am I doing something wrong or does that code not work anymore?

Dude128
03-31-2005, 08:50 PM
it won't work on your computer unless you have web server software running- hence the name, server side includes- it's handled by the server.

also, some hosts, once you do upload it, are weird about it and the files have to remain .html (I believe geocities is that way)

lambchopchoppy
03-31-2005, 09:31 PM
Oh man, this code is really awesome. Thanks a bunch. Now I don't have to do a load of copy and pasting!