thinkPhp 3.1.3的验证码无法显示的问题

Image帮助类的output方法中,在下面的代码

header("Content-type: image/" . $type);

前增加代码:

ob_end_clean();

原文地址:https://www.cnblogs.com/yipihema/p/3726143.html