cxs7225032 发表于 2017-3-29 12:20:42

通过 PHP类库 phpqrcode 生成 二维码

<?php
//phpqrcode 在下面的附件中提供下载
require_once("phpqrcode/phpqrcode.php");
$str = 'http://soundhorizon.iteye.com';
$errorCorrectionLevel = 'L';
$matrixPointSize = 3; // 图像像素比例
QRcode::png($str, false, $errorCorrectionLevel, $matrixPointSize);
exit;
?>
页: [1]
查看完整版本: 通过 PHP类库 phpqrcode 生成 二维码