O'Reilly logo

Active Server Pages 3.0 from Scratch by Nicholas Chase

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Digging a Little Deeper

You can use Server Side Includes for much more than just including static HTML in a page. In fact, ASP is a kind of Server Side Include, in that the server takes an HTML file and looks for commands it needs to execute and insert before it sends the page back.

Using SSI you can display dates and other information, or embed the results of scripts into the page. The most common SSI command is as follows:

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

This command enables you to display the current date on your page easily like you did in Chapter 1, "Planning and Designing A Professional Web Site." Examine how it works, so you can see what else it can do for you.

  • The server reads the page.

  • The server checks, or parses the page, looking for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required