1、Google开放api
$urlToEncode='http://www.xiqiao.me';
generateQRfromGoogle($urlToEncode);
函数generateQRfromGoogle($chl,$widhtHeight='150',$EC_level='L',$margin='0')
{
$url=urlencode($url);
回声'';
}
2、php类库PHP QR Code
PHP QR Code 是用于生成QR 码的开源(LGPL) 库,
二维条码。基于libqrencode C 库,
提供用于创建QR 码条形码图像的API(PNG、JPEG 感谢GD2)。
完全用PHP 实现,没有外部依赖(如果需要,除了GD2)。
信息来源推来客:昌平区网站制作,昌平区网站设计,昌平区网站建设公司
https://www.99hyw.cn/web/11786.html





























