首页 > 编程 > PHP > 正文

phpqrcode不能输出二维码

2019-11-14 14:41:19
字体:
来源:转载
供稿:网友
header('Content-Type: image/png');include_once 'phpqrcode/qrlib.php';$a = "http://www.play17.cn/play/wlogin.html";ob_clean();QRcode::png($a);

加入输出类型

header('Content-Type: image/png');

清除缓存ob_clean()

ob_clean();

 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表