主题:[原创]inc文件出错
<?
include("inc/header.inc.php");
?>
<p>aaaa</p>
<?
include("inc/footer.inc.php");
?>
请问高手:
在浏览器地址栏中输入地址http://localhost/test1/b.php后页面无 任何响应是怎么回事
???
当我这样改时::
<?
include("inc/header.inc");
?>
<p>aaaa</p>
<?
include("inc/footer.inc");
?>
出现如下错误::
Warning: main(inc/header.inc): failed to open stream: No such file or directory in
C:\AppServ\www\test1\b.php on line 2
Warning: main(): Failed opening 'inc/header.inc' for inclusion (include_path='.;c:\php4\pear')
in C:\AppServ\www\test1\b.php on line 2
aaaa
Warning: main(inc/footer.inc): failed to open stream: No such file or directory in
C:\AppServ\www\test1\b.php on line 8
Warning: main(): Failed opening 'inc/footer.inc' for inclusion (include_path='.;c:\php4\pear')
in C:\AppServ\www\test1\b.php on line 8
include("inc/header.inc.php");
?>
<p>aaaa</p>
<?
include("inc/footer.inc.php");
?>
请问高手:
在浏览器地址栏中输入地址http://localhost/test1/b.php后页面无 任何响应是怎么回事
???
当我这样改时::
<?
include("inc/header.inc");
?>
<p>aaaa</p>
<?
include("inc/footer.inc");
?>
出现如下错误::
Warning: main(inc/header.inc): failed to open stream: No such file or directory in
C:\AppServ\www\test1\b.php on line 2
Warning: main(): Failed opening 'inc/header.inc' for inclusion (include_path='.;c:\php4\pear')
in C:\AppServ\www\test1\b.php on line 2
aaaa
Warning: main(inc/footer.inc): failed to open stream: No such file or directory in
C:\AppServ\www\test1\b.php on line 8
Warning: main(): Failed opening 'inc/footer.inc' for inclusion (include_path='.;c:\php4\pear')
in C:\AppServ\www\test1\b.php on line 8