Heim  >  Artikel  >  php教程  >  phpqrcode不能输出二维码,phpqrcode

phpqrcode不能输出二维码,phpqrcode

PHP中文网
PHP中文网Original
2017-03-30 10:13:432259Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn