Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP  Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP,Python
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP, Python Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, Python,JSP
Your Tech Guys Web Hosting Web Hosting Sign-Up Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting, website hosting, web site hosting  Your Tech Guys Web Hosting Resellers web hosting, website hosting, web site hosting Your Tech Guys Web Hosting EZ Site Control Panel for web hosting,website hosting, web site hosting
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python,JSP,  Fundraising
Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting, website hosting, web site hosting
WWW.

Call Us Toll-Free
(877) 256-0328

Your Tech Guys Web Hosting Welcome Your Tech Guys Web Hosting Web Hosting Plans Overview , Fund Raising, Fundraising, web hosting, website hosting, web site hosting Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting Your Tech Guys Web Hosting Resellers, web Hosting Your Tech Guys Web Hosting Web Design, web Hosting Your Tech Guys Web Hosting Extra Services,  web Hosting Your Tech Guys Web Hosting Traffic Booster, web hosting Your Tech Guys Web Hosting Traffic Booster, web hosting Your Tech Guys Web Hosting Technical Support,  web Hosting Your Tech Guys Web Hosting webmaster tips,  web Hosting Your Tech Guys Web Hosting 30 Day Money Back, web hosting Your Tech Guys Web Hosting Legal Notices for Web Hosting Your Tech Guys Web Hosting Glossary Computer Terms for web Hosting Your Tech Guys Web Hosting Contact Information - web hosting

Site Map
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python, JSP Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting

Web Hosting Glossary -
Server Side Includes SSI

SSI (Server Side Includes)
SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology. The decision of when to use SSI, and when to have your page entirely generated by some program, is usually a matter of how much of the page is static, and how much needs to be recalculated every time the page is served. SSI is a great way to add small pieces of information, such as the current time. But if a majority of your page is being generated at the time that it is served, you need to look for some other solution.

ALL SSI pages MUST end in .shtml NOT .html or .htm !!!!

Basic SSI directives
SSI directives have the following syntax:
<!--#element attribute=value attribute=value ... -->

It is formatted like an HTML comment, so if you don't have SSI correctly enabled, the browser will ignore it, but it will still be visible in the HTML source. If you have SSI correctly configured, the directive will be replaced with its results.

The element can be one of a number of things, and we'll talk some more about most of these in the next installment of this series. For now, here are some examples of what you can do with SSI

Today's date
<!--#echo var="DATE_LOCAL" -->

The echo element just spits out the value of a variable. There are a number of standard variables, which include the whole set of environment variables that are available to CGI programs. Also, you can define your own variables with the set element.

If you don't like the format in which the date gets printed, you can use the config element, with a timefmt attribute, to modify that formatting.

<!--#config timefmt="%A %B %d, %Y" -->
Today is <!--#echo var="DATE_LOCAL" -->

Modification date of the file This document last modified <!--#flastmod file="index.html" -->

This element is also subject to timefmt format configurations.

Including the results of a CGI program This is one of the more common uses of SSI - to output the results of a CGI program, such as everybody's favorite, a ``hit counter.''

<!--#include virtual="/cgi-bin/counter.pl" -->

In order for your SSI to work, the web page must have .shtml extensions.

Sample SSI:
<!--#exec cgi="/cgi-bin/count.cgi"-->
Please note that the url must be relative as shown above. Following would not work:
<!--#exec.cgi="http://yourdomain.com/cgi-bin/count.cgi"-->
  
For more discussion on SSI, please click here.

 
 
 

Add to My Yahoo!

XML icon

Add to Google

 

 

 

 

 

 

 

 

 

 

 

JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP at JSP.aldenWEBhosting.com Servlets at servlets.aldenWEBhosting.com Tomcat at Tomcat.aldenWEBhosting.com mysql at mysql.aldenWEBhosting.com Java at Java.aldenWEBhosting.com Web Hosts Portal Web Links Web Links Web Hosting JSP Solutions Web Links JSP Solutions Web Hosting Servlets Solutions Web Links Servlets Solutions Web Hosting Web Links Web Links . . .
.
.
.
.
. .
. . . . . . . . . . . jsp hosting servlets hosting web hosting web sites designed cheap web hosting web site hosting myspace web hosting