Home> php教程> php手册> body text

phpqrcode不能输出二维码,phpqrcode

PHP中文网
Release: 2017-03-30 10:13:43
Original
2249 people have browsed it

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);
Copy after login

加入输出类型

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

清除缓存ob_clean()

ob_clean();
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!