//返回服务器真实路径 $Absolute_Path=$_SERVER['SCRIPT_FILENAME']; //截取index.php $Absolute_Path=substr($Absolute_Path,0,-9).'/Public';
//返回服务器真实路径 $Absolute_Path=$_SERVER['SCRIPT_FILENAME']; //截取index.php $Absolute_Path=substr($Absolute_Path,0,-9).'/Public';
转载于:https://www.cnblogs.com/phpwyl/p/8780385.html