2
当我包含PHP文件时,有一些问题。我第一次尝试这个,所以我不知道如何得到这个工作。当我包含某些东西时,PHP文件不再响应。下面是一些代码:包含PHP文件后脚本不起作用
<html>
<head>
<title>Testing opus class</title>
</head>
<body>
<?php
include('eedce5ed141dd72b552b7abdeb48ede3ddebc0c4.php');
$opus = new opus();
print "Test"; // It isn't printing "Test" over here
你有什么错误吗? (错误报告:'<?PHP \t \t的ini_set( “display_errors设置”,1); \t \t的error_reporting(E_ALL); \t?>')也什么是在包含文件? – Rizier123 2014-12-07 10:59:58
Thanks @ Rizier123,我在其他文件中的数组做了错误。另外:你也许知道如何启用其他文件的错误显示(对于所有文件)。 – Ebbez 2014-12-07 11:05:23
做出了答案! (不知道,但可能是'php.ini'文件中有一个设置!也许看看这里:http://php.net/manual/en/errorfunc.configuration.php) – Rizier123 2014-12-07 11:10:40