Server Side Include
Server Side Include
<html>
<head>
<title>Server Side includes: Include Directive</title>
</head>
<body bgcolor="green">
<h1> You are at www.opensourcewebbook.com</h1>
FOOTER FILE
<hr>
<br>
<a
href="http://www.opensourcewebbook.com/">http://www.opensourcewebbook.com/<
/a>
<br>Date: <!--#echo var="DATE_LOCAL"-->
</body>
</html>
INCLUDE DIRECTIVE
<!--#include file="header.html"-->
here is the stuff between what was included.
<!--#include file="footer.shtml"-->
===================================================
=================================
ECHO DIRECTIVE
<html>
<head>
<title>
Server Side includes: echo directive</title>
</head>
<body bgcolor="cyan">
</body>
</html>
===================================================
==================================
FSIZE AND FLASTMOD
<html>
<head>
<title>Server side includes: fsize and flastmod Directive</title>
</head>
<body bgcolor="cyan">
<h1> examples of the fsize and flastmod directive</h1>
the file echo.html was last modified
<!--#flastmod file="echo.shtml"-->
<br>
<!--#config sizefmt="bytes"-->
And its size is:
<!--#fsize file="echo.shtml"-->bytes
<br>
<!--#set var="name" value="Ron"-->
Name is:<!--#echo var="name"-->
<body>
</html>