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

Reading number is top 10 articles
在C#中使用帮助文件
XMLHttpRequest和AJAX入主Web开发_[AJAX教程]
IsPostBack深入探讨_[Asp.Net教程]
ASP.NET技巧:HTTP性能调优之设置连接失效时间_.net资料_编程技术
Asp.net实例:实现图片上传_[Asp.Net教程]
PHP语言中的经典应用技巧_[PHP教程]
PHP动态网站制作中关于文件操作的疑难问答_php资料_编程技术
asp.net2.0如何加密数据库联接字符串_[Asp.Net教程]
解决,配置错误,无法识别的配置节“connectionStrings”_[Asp.Net教程]
C#教程:向注册表写入信息
Reading number is top 10 pictures
29 the belle stars after bath figure3
Lewd,it is too lewd.
Look at the Spring Festival people crowded into the what kind
关于海盗的研究2
2013中国四川省高考作文
人美胸美腿更美1
A beautiful girl to bud1
The money of more than 100 countries and regions15
ashlynn brooke
如果我是导演...
Download software ranking
Ashlynn Video3
电脑知识及技巧大合集
The Bermuda triangle3
Unix video tutorial9
ASP.NET.2.0.XML.高级编程(第3版)
网页特效实例大全
Tram sex maniac 2 (H) rar bag4
豪门浪荡史
Professional killers2 for Android
Kung fu panda - the secret of the teacher
归海一刀 published in(发表于) 2014/2/17 7:39:45 Edit(编辑)
php脚本中include文件报错解决方法_[PHP教程]

php脚本中include文件报错解决方法_[PHP教程]

php脚本中include文件报错解决方法_[PHP教程]


经常当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权限是否打开,该权限决定了目录能否被浏览。

来源:http://milton.bloghome.cn/posts/99532.html






添加到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.