Re: Dynamic include file in ASP
Quote:
Originally Posted by
dvst8
I want to let my users paste in some text as an include file for their page.
When I then display their page I want to include this file.
If I were to include a static include file the HTML would be:
Code:
<!--#include virtual=".../filename.inc" -->
but I want to dynamically specify this filename with some ASP, something like:
Code:
<!-- #include virtual=".../include_<%=firstname>_<%=lastname%>.inc" -->
Problem is, the ASP does not get processed because it is encased in a comment.
I have not been able to think of a workaround...
suggestions?
tx
I also had this problem. Thanks for this great post!