Server side includes tutorial: Environmental variables

The basic structure we need to add environmental variables to our page is this one:

<!--#echo var="DATE_LOCAL"-->

Where "DATE_LOCAL" is the environmental variable.

Including the code above in our page is very simple:
 

vars.shtml
<html>
<title>Submitside.com: SSI tutorial</title>
<body bgcolor=FFFFFF>
<center>
<h1>Submitside.com: SSI tutorial</h1>

<!--#echo var="DATE_LOCAL"-->

</center>
</body>
</html>

There are many environmental variables we may add to our pages.
They have been included in a table here.



Tutorial home page

2010@ Submitside.com. All rights reserved.