Arachn1d
asked on
Include ASP file in parent directory
Is there any way to include a file in a parent directory, or another sub-directory of a common parent? #INCLUDE doesn't support it - does anything else?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The comment from Mberumen is correct. What it doesn't support is starting the path with the slash character "/". But relative pathing is accepted.
ASKER
Ok, thanks.
ASKER
Wait just a moment! If that's the case, why do I get this error:
Active Server Pages error 'ASP 0126'
Include file not found
/WeBBS/admin/index.asp, line 1
The include file '../includes/top.asp' was not found
The file ../includes/top.asp DOES exist! Why won't it load it then?
Active Server Pages error 'ASP 0126'
Include file not found
/WeBBS/admin/index.asp, line 1
The include file '../includes/top.asp' was not found
The file ../includes/top.asp DOES exist! Why won't it load it then?
ASKER
Oops, my sincere apologies. I was using include VIRTUAL :-/
ASKER