请看下面的代码: <?php $path="../"; inlude($path."index.htm"); ?> 我本来想返回上一层目录里的index.htm文件,但却出现了以下的错误提示: Warning: open_basedir restriction in effect. File is in wrong directory in /home/ftp/redboy/test/oicq3.php on line 3Warning: Failed opening '../index.htm' for inclusion (include_path='.:/usr/local/lib/php') in /home/ftp/redboy/test/oicq3.php on line 3 请各位高手指教!
返回到上级目录的上级目录:)与网页当前目录相对的路径
<?php
$path="../";
inlude($path."index.htm");
?>
我本来想返回上一层目录里的index.htm文件,但却出现了以下的错误提示:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/ftp/redboy/test/oicq3.php on line 3Warning: Failed opening '../index.htm' for inclusion (include_path='.:/usr/local/lib/php') in /home/ftp/redboy/test/oicq3.php on line 3
请各位高手指教!