Needing Help With SSI

They have: 65 posts

Joined: Dec 1999

I heard that the best way to update a site is to use SSI. Number one, what is it? Number two, how do I use it? Please Help me...

------------------
Jesse

They have: 1,587 posts

Joined: Mar 1999

ssi deals with cgi/perl. may want 2 ask ur question in that discussion area of the forum.

------------------
Get paid to surf, email, and everything else online! 75 hrs a month at 55+ cents an hour! Beats AllAdvantage Easily. CLICK 4 DETAILS

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

I'm moving this thread to the CGI/Perl help forums, and I will reply to you there. This thread is now closed in the graphics/design forum.

Brian Farkas
Forum Moderator

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

Ok, now to answer your questions

1. SSI = Server Side Includes. Basically, the server parses the html document and outputs commands. The one you are probably thinking of using is the "include" command.

2. USAGE
Let's say you had a file that you wanted to use as the sidebar named side.html. Simply place this code in the HTML document where you want the sidebar to appear:

Code Sample:

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

If the side.html file was in the /sidebar directory, you would put:

Code Sample:

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

So, it's file if the file you want to include is in the same directory and virtual if it is not in the same directory. Also note that depending on what host you are with you may need to rename your pages to have a .shtml or .shtm extension. I hope this explains it!

Brian Farkas

------------------
Web Design - Hosting - Promotion - Programming
InfoStar Web Design - Click Here!

They have: 65 posts

Joined: Dec 1999

Thankyou so much! I needed to understand how to do that, I just didn't want to update all my pages one after another. Thankyou!!!

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.