【发布时间】:2016-02-02 08:23:58
【问题描述】:
两者之间的有效区别是什么:
include_once("../backend/example.php");
和
include_once("./backend/example.php");
我的问题是在我的开发环境(XAMPP-Server)上我不得不使用“./”。但是当我尝试将我的进度上传到生产服务器时,我不得不将路径更改为“../”。
感谢您的回答!
【问题讨论】:
-
除了发现的重复问题,请咨询stackoverflow.com/questions/19272954/…