Results 1 to 18 of 18
Oct 19, 2010, 14:23 #1
- Join Date
- Oct 2010
- 0 Post(s)
- 0 Thread(s)
config.asp file to declare variables for include files
let me just start that I am an asp newb...
searched all over the internet for this answer and can't seem to find anything
I have a config.asp file (located on my server (ip_address/root/config.asp) that i am declaring a variable in:
<% dim root_path root_path = "/rootfolder/" %>
a) is this the only way to include the config file in it? <!--#include virtual="/root/config.asp"-->
-b/c if that is the case, I would have to delete the /root out when i move from dev to prod (seems pointless)
b) can I include a declared variable in an include statement?
Active Server Pages error 'ASP 0126'
Include file not found
/root/subfolder/default.asp, line 34
The include file '<%=root_path%>inc/header.asp' was not found.
If anyone can provide help, I would be very appreciative! I have scoured the internet for the past 2 business days looking for help...