2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by twiss
0

I read that SSI needs .shtml extension. I do not see many pages with .shtml extensions nowadays. Must be done some other way than SSI.

I would think this is one of the most common procedures a web page dev does (be able to update the navigation links on a multi page website).

0

As this is server-side (as the name suggests), you normally won't see it in the source.

0

Thanks for replying.

Since I know nothing about 'server side' coding, and you do not see anything in the source of the webpage, how does it work? Is server side something like a .bat file in DOS? You code something like:
- get each .html file in turn
- look for a <li> tag
- change as required

Is there a 'server side for dummies' anywhere?

0

Generally, you change the extension of the files you want to execute server-side code in - to be dynamic, if you will. Then your server will (hopefully) interpret or get an extension to interpret that file. The result of this will be sent to the browser.
The most widely used server-side language is PHP. There are also others, such as Perl, Ruby on Rails and Python, but these might not be installed on your server (if you're on a shared host. If not, you can install them yourself of course). There's a tutorial on php here, but my way of learning it was learning something new if I needed something new.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.