php include file in parent directory

Solutions on MaxInterview for php include file in parent directory by the best coders in the world

showing results for - "php include file in parent directory"
Judith
10 Apr 2017
1//If your server is not resolving the file from the parent directory using
2include '../somefilein_parent.php'
3
4//try this (using the parent directory relative to the script):
5include __DIR__ . "/../somefilein_parent.php";