脚本宝典收集整理的这篇文章主要介绍了php – $_SERVER [‘document_root’]返回/ htdocs not / public_html,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_304_7@Warning: require_once(/home/secure31/public_html/htdocs/includes/head.PHP) [function.require-once]: Failed to oPEn stream: Permission denied in /home/stephe80/public_html/index.PHP on line 6
有罪的代码:
require_once($_SERVER['DOCUMENT_ROOT'] . '/includes/head.PHP');
我倾向于认为这是与他们的临时网址设置相关的错误,但我不想通过我的DNS转移并发现我的所有文件都被破坏了.我可以将它们改为绝对路径,但我很好奇我是否遗漏了一些东西.任何见解将不胜感激.谢谢!
以上是脚本宝典为你收集整理的php – $_SERVER [‘document_root’]返回/ htdocs not / public_html全部内容,希望文章能够帮你解决php – $_SERVER [‘document_root’]返回/ htdocs not / public_html所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。