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的內(nèi)容,更多相關(guān)內(nèi)容請(qǐng)關(guān)注PHP中文網(wǎng)(www.miracleart.cn)!
PHP怎么學(xué)習(xí)?PHP怎么入門?PHP在哪學(xué)?PHP怎么學(xué)才快?不用擔(dān)心,這里為大家提供了PHP速學(xué)教程(入門到精通),有需要的小伙伴保存下載就能學(xué)習(xí)啦!
微信掃碼
關(guān)注PHP中文網(wǎng)服務(wù)號(hào)
QQ掃碼
加入技術(shù)交流群
Copyright 2014-2025 http://www.miracleart.cn/ All Rights Reserved | php.cn | 湘ICP備2023035733號(hào)