-
Include File question
Does anybody know how to Include a dynamic file?
That means if user enter some name, I can include the file
with this name. I use
<!--#INCLUDE FILE=<%=includefilename%>.asp-->
but does not work.
Please help
Thanks
-
Re: Include File question
Includes are processed before ASP, so that won't work. Check
www.aspfaq.com, IIRC they've got a writeup of workarounds for this.
Beginner wrote in message <3a27aa98$1@news.devx.com>...
>
>Does anybody know how to Include a dynamic file?
>That means if user enter some name, I can include the file
>with this name. I use
><!--#INCLUDE FILE=<%=includefilename%>.asp-->
>but does not work.
-
Re: Include File question
"Beginner" <htpai@yahoo.com> wrote:
>
>Does anybody know how to Include a dynamic file?
>That means if user enter some name, I can include the file
>with this name. I use
><!--#INCLUDE FILE=<%=includefilename%>.asp-->
>but does not work.
>
>Please help
>Thanks
filename = request ("file_name")
<!--#INCLUDE FILE="<%=filename"%>"-->
-
Re: Include File question
This would't work.
Thanks Kris.
I've got the solution on:
http://www.aspfaq.com/faq/faqShow.asp?fid=10
"mario" <sss@noonr.vom> wrote:
>
>"Beginner" <htpai@yahoo.com> wrote:
>>
>>Does anybody know how to Include a dynamic file?
>>That means if user enter some name, I can include the file
>>with this name. I use
>><!--#INCLUDE FILE=<%=includefilename%>.asp-->
>>but does not work.
>>
>>Please help
>>Thanks
>
>
>filename = request ("file_name")
><!--#INCLUDE FILE="<%=filename"%>"-->
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|