-
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks