[Chapter 5] 5.9 Common Errors

CGI Programming on the World Wide Web

Previous Chapter 5 Next
 

5.9 Common Errors

There are two common errors that you can make when using Server Side Includes. First, you should not forget the "#" sign:

<!--echo var="REMOTE_USER"-->

Second, do not add extra spaces between the "-" sign and the "#" character:

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

If you make either of these two mistakes, the server will not give you an error; rather it will treat the whole expression as an HTML comment.


Previous Home Next
Tailoring SSI Output Book Index Hypermedia Documents