doukuai3822 2014-12-07 10:58
浏览 52
已采纳

包含PHP文件后脚本不起作用

I have some problems when I include a PHP file. I am trying this for the first time so I don't really know how to get this is working. The PHP file doesn't respond anymore when I include something. Here is some code:

<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
  • 写回答

1条回答 默认 最新

  • duanbi6522 2014-12-07 11:09
    关注

    Check if you get any errors with error reporting:

    <?php
        ini_set("display_errors", 1);
        error_reporting(E_ALL);
    ?>
    

    Also make sure you don't have any error's in the file which you include!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 win10权限管理,限制普通用户使用删除功能
  • ¥15 minnio内存占用过大,内存没被回收(Windows环境)
  • ¥65 抖音咸鱼付款链接转码支付宝
  • ¥15 ubuntu22.04上安装ursim-3.15.8.106339遇到的问题
  • ¥15 求螺旋焊缝的图像处理
  • ¥15 blast算法(相关搜索:数据库)
  • ¥15 请问有人会紧聚焦相关的matlab知识嘛?
  • ¥15 网络通信安全解决方案
  • ¥50 yalmip+Gurobi
  • ¥20 win10修改放大文本以及缩放与布局后蓝屏无法正常进入桌面