使用用PHP生成二维码的几种方法

1、Google开放api

  $urlToEncode='http://www.xiqiao.me';  generateQRfromGoogle($urlToEncode);  function generateQRfromGoogle($chl,$widhtHeight ='150',$EC_level='L',$margin='0')  {   $url = urlencode($url);   echo '  ';  }  

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

信息来源易企中国昌平区网站制作,昌平区网站设计,昌平区网站建设公司

使用用PHP生成二维码的几种方法非原创文章,如若转载,请注明出处:https://web.eq.sd.cn/4_2561.html