If I have a file:

/code/folder1/test.php

and in that file, it has these includes:

include_once("../../file1.php");
include_once("../../file2.php");
include_once("../../file3.php");


I then have another file:

/code/test2.php

That file pulls in test.php.

include_once("folder1/test.php");

Why do I get errors on the includes?  Does php first pull in the includes of
test.php before pulling it into test2.php?  It seems to be looking for the
includes in test.php from where I am in test2.php and is failing.

Thanks!

Reply via email to