start page | rating of books | rating of authors | reviews | copyrights

Apache The Definitive Guide, 3rd EditionApache: The Definitive GuideSearch this book

14.3. Includes

We can include one file in another with the include command:

<!--#config errmsg="Bungled again!"-->
This is some text in which we want to include text from another file:
&lt;&lt; <!--#include virtual="another_file"--> &gt;&gt;
That was it.

This produces the following response:

This is some text in which we want to include text from another file:
<< This is the stuff in 'another_file'. >>
That was it.


Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.