ASP does not support dynamic includes (variable) by <!--#include--> tag. But if the included file is clear-text (or HTML), you can use FileSystemObject and next code to include the file.
Author: PSTRUH Software Code: ASP 2.0 & VBScript
|I found a better script! |
Written by Anonymous User (#1436-182) (Thursday, October 06, 2011)
Weaknesses: Not the best method
Details: It's a nice script, but we cannot talk about a "full" replacement of the "include" asp statement. There are better scripts around.
Review Based On: 1 Hour(s) of usage
Worked for me!
Written by Anonymous User (#1566-227) from Australia (Monday, January 17, 2005)
||Strengths: Fast, Simple
Details: For a fast way to dymically include text & html files, this is spot on!
No server mods needed and very flexible!
Review Based On: 33 Month(s) of usage