a级毛片在线观看,精品久久久久久亚洲精品,人人妻人人澡人人爽欧美一区九九 ,国产午夜视频在线观看

Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

使用用PHP生成二維碼的幾種方法

Date:2018-08-10 Aource:尚品中國 Type:網站百科
Word Size:small  medium  big

1、Google開放api

$urlToEncode='http://www.xiqiao.me';
generateQRfromGoogle($urlToEncode);
function generateQRfromGoogle($chl,$widhtHeight ='150',$EC_level='L',$margin='0')
{
 $url = urlencode($url);
 echo ' <img alt="QR code" src="http://chart.apis.google.com/chart?
chs='.$widhtHeight.'x'.$widhtHeight.'&cht=qr&chld='.$EC_level.'|'.
$margin.'&chl='.$chl.'" widhtheight="'.$size.'" /> ';
}

2、php類庫PHP QR Code

PHP QR Code is open source (LGPL) library for generating QR Code,

2-dimensional barcode. Based on libqrencode C library,

provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2).

Implemented purely in PHP, with no external dependencies (except GD2 if needed).

信息來源尚品中國昌平區(qū)網站制作,昌平區(qū)網站設計,昌平區(qū)網站建設公司

?

Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.