Link to home
Start Free TrialLog in
Avatar of dba123
dba123

asked on

Include file path problem

for some reason, previous coders of this application used ...

myasppage.asp has the following code:
<!--#include file="../assistants/main.asp" -->

so now when myasppage.asp page is referenced, I get the error:

The Include file '../assistants/main.asp' cannot contain '..' to indicate the parent directory.

I had to change it to include virtual instead of include file ...what's the diff?

to
<!--#include virtual="/directoryname/assistants/main.asp" -->
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial