Can you give me an example on how to use shtml? I'm confused on how to use it.
Printable View
Can you give me an example on how to use shtml? I'm confused on how to use it.
Shtml (SSI - Server Side Includes) is probably most useful for including files.
Say you have three files
top
Content
bottom
Now the good thing about shtml is how you can utilize it like a template.
So you include Top and Bottom to every page you make and the only thing you have to edit is the content page. And if ever you wanted to change top, bottom, you can and it will change it for all pages including those files. Its quite helpful and a time saver.
hope this helps
http://www.useforesite.com/tut_ssi.shtml
and you probably know the server has to be configured to support it.
Oh.... I thought SHTML was Secure HTML, as in HTTP via SSL.
Silly me.
But u can include files with html as well whats the difference on using shtml then?
Quote:
Originally posted by Gimlin
Shtml (SSI - Server Side Includes) is probably most useful for including files.
Say you have three files
top
Content
bottom
Now the good thing about shtml is how you can utilize it like a template.
So you include Top and Bottom to every page you make and the only thing you have to edit is the content page. And if ever you wanted to change top, bottom, you can and it will change it for all pages including those files. Its quite helpful and a time saver.
hope this helps
What are you talking about? It's possible to include files in HTML... but it's usually given a .shtml extension. Some give it a .jhtml extension... yadda yadda.Quote:
Originally posted by tina104291325
But u can include files with html as well whats the difference on using shtml then?
CiberThug... thank you for confusing me. :mad: