| Server side includes tutorial: Include tag |
|
To illustrate this example, let's suppose we have a file with the content
bellow:
This file may content the first part of all pages in our site. Now we
may want to add the content of this page to a file name "lesson1.shtml":
The file to be included must be a text file, and its name may have ".html", ".txt", ".asp" ... extensions. In case ".asp" extension is used (in Windows NT servers), you may be able to execute ASP scripts with no problems (probably your file must have ".asp" extension ). |