Answers for "php require file from parent directory"

PHP
2

php include file in parent directory

//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";
Posted by: Guest on June-14-2021

Code answers related to "php require file from parent directory"

Browse Popular Code Answers by Language