All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
C#,asp.net操作文件_[Asp.Net教程]
delphi向一个文件中添加内容
正确理解PHP程序编译时的错误信息_php资料_编程技术
Sql Server 2005 数据库维护计划_[SQL Server教程]
ASP.NET,2.0中判断上传的图片是否符合规格_[Asp.Net教程]
delphi无类型文件
Asp.net中的页面乱码的问题_[Asp.Net教程]
.NET内置对象之Cache对象_[Asp.Net教程]
Sql,server2000修复实践的一次说明_[SQL,Server教程]
PHP连接远程MYSQL和MYSQL5.1中文乱码处理方法_php资料_编程技术
Reading number is top 10 pictures
泳装名模阿尔贝特妮写真2
穷哥们向美女求婚攻略
狗狗与主人神同步2
红楼梦金陵十二钗(2)
教你做读书笔记
Nikon microscopic photography of the first three
The real super beauty9
Angie Chiu vijara myth2
The money of more than 100 countries and regions13
The world's top ten most beautiful railway station2
Download software ranking
网络管理员第三版
Unix video tutorial10
Boxer vs Yellow2
Boxer vs Yellow3
SP3 for SQL2000
Tram sex maniac 2 (H) rar bag19
Take off clothes to survival
Tram sex maniac 2 (H) rar bag6
Kung fu panda - the secret of the teacher
Tram sex maniac 2 (H) rar bag10
aaa published in(发表于) 2013/12/24 5:52:38 Edit(编辑)
动态网页PHP脚本中include文件报错解决方法_php资料_编程技术

动态网页PHP脚本中include文件报错解决方法_php资料_编程技术

动态网页PHP脚本中include文件报错解决方法_php资料_编程技术-你的首页-uuhomepage.com

  经常当php页面中利用include, require, require_once包含了一些其他位置的页面时,会出现错误,比如没有发现次页面,或者权限不允许等,可以根据以下方法来排除

  1. 出现“未找到文件“类似的错误时候,检查include文件的位置是否正确,下面引用php手册页面的原话:

Files for including are first looked in include_path relative to the current working directory and then in the directory of the current script. E.g. if your include_path is libraries, current working directory is /www/, you included include/a.php and there is include "b.php" in that file, b.php is first looked in /www/libraries/ and then in /www/include/. If filename begins with ./ or ../, it is looked only in include_path relative to the current working directory.

  2. 当出现permission deny 类似错误的时候,按以下方法排除

  a) 检测被包含的文件读权限是否打开

  b) 检测被包含的文件路径上的每个目录的x权限是否打开,该权限决定了目录能否被浏览。





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.