包括什么都不做 [英] Include does nothing
问题描述
我想在我连接服务器上的域之前清理文件。我已将它们添加到直接管理员中,我已上传文件 - 但我不知道如何访问它们。
I want to chceck files before I'll connect domain on my server. I've added them in direct admin, I've uploaded files - but I don't know how to get to them.
我有4个域连接,但我只能访问一个。我看到可以包含更高级别的文件
I have 4 domains connected, but i have acces only to one. I saw that it's possible to include file from higher level
include('../../panele-podlogowe.eu/adm/img/edit.gif')
这给了我正确的图像。但是当我完成了:
That gave me correct image. But when I've done:
include('../../panele-podlogowe.eu/index.php');
没有任何反应(我已启用错误报告)。
Nothing happens (I've turned Error reporting on).
当我做了类似的事情时:
When I did something like:
include('../../panele-podlogowe.eu/index.php');
echo 'Failed?';
没有打印出什么......到底是什么?
Nothing prints out... What the heck?
解决方案:
ini_set("display_errors", "stdout");
推荐答案
查看PHP错误日志。通常情况下,即使在默认设置下,也会显示问题所在。
Review the PHP error log. That usually, even under default settings, shows what's the problem.
这篇关于包括什么都不做的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!