楼主:
edyucheng (edyucheng)
2017-05-11 16:14:17有两个档案fileA和fileB
fileA路径:localhost/folder/fileA.php
fileB路径:localhost/fileB.php
今天我要在fileA.php中使用fileB
我用require_once("../fileB.php")可以读到fileB档案,
为什么我用绝对路径require_once("/fileB.php")会找不到档案呢?
reqire_once有限制不能参数不能用绝对路径吗?
如果一定要用绝对路径的话,要怎么用才好呢?