PDA

View Full Version : what is .shtml?



MENJ
June 16th, 2002, 09:33
Hi there...what is .shtml? How do I code my pages in .shtml? Thank you in advance for the help :D

otr
June 16th, 2002, 09:41
hi im not 100% sure but i think that .shtml is when you are using ssi and have to rename all your pages to .shtml for the ssi to show up if im completely wrong please correct me some one cause i aint to sure on it.

anyways hope that helps you if im right ! :p

Damoose
June 16th, 2002, 13:24
Originally posted by otr
hi im not 100% sure but i think that .shtml is when you are using ssi and have to rename all your pages to .shtml for the ssi to show up if im completely wrong please correct me some one cause i aint to sure on it.

anyways hope that helps you if im right ! :p

yes your right, when you use SSI you use that extension.

biggulp
June 17th, 2002, 01:43
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html

The Red Guy
June 17th, 2002, 02:06
In the html document you insert either

<!--#include file="myfile.html" -->

or

<!--#include virtual="../myfile.html" -->

nag
June 17th, 2002, 09:34
SSI stands for ""Server Side Included""
It is very easy way to enhance your web pages and its tags are placed in simple HTML like these
To put current date
<h3>Today is<!--#echo var="DATE_LOCAL" --></h3>
To create a back button use
<a href="<!--#echo var="HTTP_REFERER" -->">BACK BUTTON</a>
There is some other stuff too...
:p

anhedonia
June 19th, 2002, 07:33
Originally posted by The Red Guy
In the html document you insert either

<!--#include file="myfile.html" -->

or

<!--#include virtual="../myfile.html" -->

Is that all you have to do? Easy - sounds just like iframes. Does your host need special support for it? :confused2

bigperm
June 19th, 2002, 08:08
It's like Iframes, except for the 'frame' part. It inserts the HTML directly into your page.

Your host needs little 'extra' support for it, and most, if not all paid hosts support it.

anhedonia
June 19th, 2002, 08:38
Seems kind of simple... Might have a play around with it. :)

guitarnerd
June 21st, 2002, 20:00
What is cool about ssi is that you can create cases for links so that when a link is clicked it selects a case and adds the external data from a file thus the page will not have to load it will just add data
I believe it is supported on all server types

Blank Verse
June 21st, 2002, 23:23
I don't know, I've never really had problems finding free hosts that don't use SSI either. In any case, it's pretty handy to have, especially if you don't know, or don't have a site with PHP.

guitarnerd
June 22nd, 2002, 01:46
Personally I would choose SSI and ASP over php any day

Canuckkev
June 22nd, 2002, 02:20
I was under the impression that SSI is a lot slower than PHP. Anyhow, anything SSI can do PHP can do as well, and a lot easier too. Some hosts that only support CGI will support PHP, but most that suppoert PHP will support SSI.

guitarnerd
June 22nd, 2002, 02:27
Yes SSI is slower but if you use php includes it will be about the same and when people say slower slower as in milliseconds of time to execute

w3exit
June 22nd, 2002, 12:45
It's just normal html - but you can use Server Side Includes (SSI) in these pages ...