Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: whabang on April 20, 2004, 10:41:26 AM
-
I want to include a filename specified in the URL, I.E.
<%
filename=Request.QueryString
%>
I then want to include somehting like anyfile.html by typing in the URL /filename.asp?anyfile.html.
This is not possible because the web-server does the include before it defines the filename variable. Is there any work-around for this?
Thanks in advance...
-
Solved!
I used the Server.Execute command instead.
Server.Execute(Request.QueryString & ".asp")