欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

phpqrcode不能输出二维码,phpqrcode

程序员文章站 2022-03-21 14:15:00
...
phpqrcode不能输出二维码,phpqrcode
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();

以上就是phpqrcode不能输出二维码,phpqrcode的内容,更多相关内容请关注PHP中文网(www.php.cn)!

相关标签: phpqrcode,二维码