Morrus, I suggest you to learn some SSI.

Psionicist

Explorer
http://free.prohosting.com/~sampieri/freefaq/g_ssitest.shtml

SSI offers a very good feature found in more advanced languages as PHP and ASP. (I know all three, SSI is pretty simple).

So, what is SSI (Server Side Includes)?

SSI is a small "template" you can add to normal HTML files. The only "but" is that the server have to support SSI and you have to save the files as something.SHTML

So, what does it do?

I will show you an example with two files:

file1.shtml
code
code
Welcome to the LEFTORIUM!
<!--#include file="file2.shtml"-->
Click here to enter the website
code
code

file2.shtml
Today you can order a sandwhich for one hundred dollars

And... Voila!

The user will se this when the site is exectued

Welcome to the LEFTORIUM!
Today you can order a sandwhich for one hundred dollars
Click here to enter the website

There are a million uses of this. The best part is you can cut all pages in two halves.

Name one half "MENU.SHTML" (or something)
then the other one with the normal filenamename with SHTML extension.
include menu.shtml at the very beginning of the "other" shtml file.
Do this on every page.

Now you have only ONE file to change lots of things on. In file1 (menu.shtml) you'll have the bodyline and menu items. Change that one file and all of your pages will be changed.
 

log in or register to remove this ad



Darkness said:
IIRC, the company that published the old AD&D CRPGs was also names SSI. :p

ah yes, the original Pool Of Radiance was fantasitic. I had fun running that on my C64 ... My first character that I rolled up ended up with an 18/00 str ... then when I brought my elf F/M-U over to Curse of the Azure bonds something went wonky and the gauntlets of ogre strenght (18/00) somehow became permanent and I now had an elf fighter/Magic-user with an 18/00 str! (very cool)

programming? um ... I took a year of basic when I was a Junior in HS (1989-90) ... um I remember I had to number the program lines ... I think
 

Remove ads

Top