General Info
Server Side Includes can be used to link a .txt file to one or more web pages. When the text file is updated, all related pages that reference the SSI will be updated. SSI pages must be saved with one of the following extensions: .shtml .stm or .shtm. The page can only be run through a localhost with that localhost configured to run SSI. When an SHTML webpage is sent to the web browser window, it gets assembled on the server and then sent to be viewed. The normal HTML tags all still work the same; the SHTML simply lets you include other pieces into the HTML page.
Additional Notes
- You cannot use a URL for the
filename.txtfile.<!––#include file="http://www.site.com/filename.txt" ––> - You must use a relative path to the file:
<!––#include virtual="/filename.txt" ––>
*remember the leading slash if you are using the path from the 'root' of your website - SSI only works with text files and not other formats such as .doc
<!––#include file="filename.txt" ––>
