Groups | Blog | Home
all groups > inetserver asp general > november 2003 >

inetserver asp general : Dynamically calling an "Include" file


N. Graves
11/6/2003 3:53:56 PM
Hey,
I need to have a template ASP page that can dynamically include
another file depending on that I call in the address. I have yet to
make this work.

Here is a sample of what I thought would work but didn't

Address: http://server/Template.asp?datatodisplay=welcome

<!-- #include file="<% =REQUEST("datatodisplay") %>.inc" -->

I don't want to create a select case statement because this will we
working with server al hungered files.


Anybody have any suggestion?

Thanks

NG



x-- 100 Proof News - http://www.100ProofNews.com
x-- 3,500+ Binary NewsGroups, and over 90,000 other groups
x-- Access to over 800 Gigs/Day - $8.95/Month
x-- UNLIMITED DOWNLOAD
Aaron Bertrand - MVP
11/6/2003 4:00:29 PM
http://www.aspfaq.com/2042


[quoted text, click to view]

N. Graves
11/6/2003 4:49:36 PM
Thanks you so much for this link. I will go test it now.


On Thu, 6 Nov 2003 16:00:29 -0500, "Aaron Bertrand - MVP"
[quoted text, click to view]


x-- 100 Proof News - http://www.100ProofNews.com
x-- 3,500+ Binary NewsGroups, and over 90,000 other groups
x-- Access to over 800 Gigs/Day - $8.95/Month
x-- UNLIMITED DOWNLOAD
AddThis Social Bookmark Button