//If your server is not resolving the file from the parent directory using include '../somefilein_parent.php' //try this (using the parent directory relative to the script): include __DIR__ . "/../somefilein_parent.php";
Here is what the above code is Doing:
1. __DIR__ is a magic constant that returns the directory of the current file.
2. The ../ is a relative path to the parent directory.
3. The / is the directory separator for the current OS.
4. The . is the current directory.