Home  >  Article  >  php教程  >  phpqrcode不能输出二维码,phpqrcode

phpqrcode不能输出二维码,phpqrcode

PHP中文网
PHP中文网Original
2017-03-30 10:13:432295browse

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)!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn