📜  php 包含父目录中的文件 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:31.690000             🧑  作者: Mango

代码示例1
//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";