Home >Backend Development >PHP Tutorial >透过 PHP类库 phpqrcode 生成 二维码

透过 PHP类库 phpqrcode 生成 二维码

WBOY
WBOYOriginal
2016-06-13 10:55:56672browse

通过 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;?>
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