SSI help needed desperately...

They have: 65 posts

Joined: Dec 1999

I have made posts, and I still do not understand SSI totally, please give me a link or a tutorial to read so I can use SSI properly.

------------------
~*~*~*~*~*~*~*~~*~*~*~*~*
Jesse F. Engle
[email protected]
~*~*~*~*~*~*~*~*~*~*~*~*~

They have: 359 posts

Joined: Mar 1999

Hi Jesse,

Not an expert on SSI by any means, but I do use them on most of my web sites when I can. So here goes, gonna try to give you a brief tutorial on using a simple SSI call - a copyright notice on every page in your website.

First, not all domain hosts allow SSI, so make sure your host allows them.

Assuming that they do, create your normal html page and save it with the extension .shtml (There is a command you can put in your .htaccess file that will read a SSI call without the shtml extension, but can't remember right off the top of my head what it is. Also read someplace that it does cause the server to work harder)

Next, create another file with your copyright information. This file doesn't need to have any of the <html> or <body> tags in it. (Remember, this is simple)

code:

Copyright © JFEngle 2000[/code]
Name this file 'copyright.txt'. No, it doesn't need to have the html extension. You can, but it doesn't need to be. I use .txt on all mine just to separate them from regular html pages. Could probably name it 'copyright.ssi' and it would work. 

Go to your original html file and insert the following command wherever you want your copyright information:
code:
<!--#include virtual="copyright.txt" -->[/code]
If you have Dreamweaver, you can preview SSI calls in your browser before uploading any files. If not, upload the two files to your server and the copyright notice should be where you inserted the line of code above.

The next step would be to add this code to every page in your website. Then to change your copyright info, you would edit the 'copyright.txt' file, upload it and all your pages would now have the new copyright info.

Hope this helps.

------------------
Dan
 CDS Web Design 


[This message has been edited by cds (edited 07 January 2000).]

[This message has been edited by cds (edited 07 January 2000).]

[This message has been edited by cds (edited 07 January 2000).] 

Dan
Recycle Video Games Network

Stupidity killed the cat, curiosity was framed!

They have: 65 posts

Joined: Dec 1999

Wow. Thanks dude. I had tried before, but i used the body and html tags and stuff and it was screwed. Thanks alot.

------------------
~*~*~*~*~*~*~*~~*~*~*~*~*
Jesse F. Engle
[email protected]
~*~*~*~*~*~*~*~*~*~*~*~*~

They have: 850 posts

Joined: Jul 1999

I found a great tutorial on SSI
check it out at http://bignosebird.com/ssi.shtml

------------------
A hummingbird weighs less than a penny.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.