你的echo可以写在了页面跳转的代码后面!!!
注意看下你的discuz安装的版本跟老师讲的版本是否一致吗
如果是3.2版本的话 tool.php 的 第10行改为 require_once libfile('tool/' . $_GET['mod']);