O'Reilly logo

Sams Teach Yourself CGI in 24 Hours, Second Edition by Rafe Colburn

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

Using SSI Directives

Let’s look at a simple example of embedding SSI directives in a page. The syntax for SSI directives is very similar to HTML comments. There’s a good reason for this. If for some reason you used SSI directives in a document that the Web server thought was a normal HTML file, the Web browser would interpret the directives as comments instead of displaying them as part of the page. The basic format for SSI directives is

<!--#command parameter="argument"--> 

With SSI directives, punctuation counts. Be sure to use all the punctuation exactly as it appears in the preceding example. Specifically, it is important not to put a space ...

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