不是呀,上面的。
test.php内容是<?include("b.php");echo"$a";?>
b.php内容是<?$a="aaa";?>
然后就出现这样的错误Warning: Failed opening 'b.php' for inclusion (include_path='.:/usr/share/php') in /var/htdocs/qingxi/test.php on line 2
test.php内容是<?include("b.php");echo"$a";?>
b.php内容是<?$a="aaa";?>
然后就出现这样的错误Warning: Failed opening 'b.php' for inclusion (include_path='.:/usr/share/php') in /var/htdocs/qingxi/test.php on line 2
然后:
include "./b.php";
./要不要应该都可以,在本地的话,上传后还是应该加上
include("../xxx/***.***"); T
include("***.***"); Tinclude("/xxx/***.***"); F
include("http://*****/***/***.***"); F慢慢体会
http://kongtian.nexenservices.com/
是:
include_path=".:/usr/share/php"这样不对吗?不是当前目录就可以的吗?
好烦,当前目录应该可以的吧。
还是 “.;/usr/share/php”?单愿不是那个分号写成了冒号……
LeeMaRS(小菜虎_水壶的仇人)