I have a file that is being included in that file - Server.MapPath ('../ _Data ') that does not work - because it does not contain the same server contained in that file. As the filepath was executed as a file.
How can I get the path to the included file?
To clarify the situation, I added a picture
As you can see, I am including one file from one site to another
(there is no other option), so that server. The purpose is to separate, though the result is that in the included file I get the file executed.
You should use a better relative path. / P>
starts with the relative path / , which means the root of the site begins.
Comments
Post a Comment