English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

follow this link:
http://answers.yahoo.com/question/index;_ylt=AjX2bOIphTmdGtaRHMY2crHsy6IX?qid=20060724062018AA4flOQ


If This part is just for comment and is not compiling, how can these examples run on html file?
http://www.comptechdoc.org/independent/web/cgi/ssimanual/ssiexamples.html

2006-07-24 02:38:31 · 4 answers · asked by QuestionAnswer 2 in Computers & Internet Programming & Design

4 answers

Oh You are talking about server side include. These are quite useful for deployment with the related software like mod_perl, python and other interpreted(keyword) languages on the server side. It mean the server will perform some action. :)

2006-07-24 02:47:03 · answer #1 · answered by JavaClark 5 · 0 0

You seem to be confused. Mostly by not knowing what question to ask.

First start with HTML. Written in Notepad or WordPad and saved as filename.htm or filename.html

Now add javascript or vbscript to this web page. You now have DHTML. So what to you call the files? filename.htm or filename.html But you can also save the files as filename.dhtm

Now you add a SSI. This is either in the form of a CGI program written in Perl or it is a CGI command as listed. The format for a Perl program is to use the exec SSI command.
The server needs to be set to parse the html file in order to execute the SSI command. You need to check out the options in the .htaccess file. This assumes that your domain server uses the UNIX operating system. Again what to you call these files? This time it depends on how you have set up the server in the .htaccess file.
The normal way is to name the file filename.htm or filename.html This means that all files on the server will be parsed for SSI commands.
The alternative is the name the files filename.shtm Then only these files will be set to be parse.

I hope this information is of more use to you. Good luck.

2006-07-24 10:12:35 · answer #2 · answered by AnalProgrammer 7 · 0 0

That can be used for SSI (Server Side Includes) which includes files into files. Look at the examples they give on the link you sent.

PERL and CGI use the for scripts, but in HTML it comments out HTML code.

2006-07-24 09:42:20 · answer #3 · answered by rob 3 · 0 0

No. They won't be rendered by browsers at the time opening instead they will be replaced with suitable code by server side programs.
The server generates a suitable output file in HTML dynamically and despatches. The browser downloads the HTML file and renders it to display on the screen.

2006-07-24 09:45:40 · answer #4 · answered by C Ravi 2 · 0 0

fedest.com, questions and answers