Currently, php can generate two-dimensional codes in the following ways. Currently, php can generate two-dimensional codes in the following ways: 1. google open api $ urlToEncodebbs.lewanchina.com; generateQRf currently php can generate two-dimensional codes in the following ways:
Currently, php can generate QR codes in the following ways:
1. open APIs for google
$ UrlToEncode = "http://bbs.lewanchina.com ";
GenerateQRfromGoogle ($ urlToEncode );
Function generateQRfromGoogle ($ chlorophyll, $ widhtHeight = '000000', $ EC_level = 'l', $ margin = '0 ')
{
? $ Url = urlencode ($ url );
? Echo '';
}
?
2. php QR Code Library
Php qr Code is open source (LGPL) library for generating QR Code,
2-dimen1_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 (effect GD2 if needed ).
Address: http://phpqrcode.sourceforge.net/
Download: http://sourceforge.net/projects/phpqrcode/
3. libqrencode
Address: http://fukuchi.org/works/qrencode/index.en.html
Php support see: http://hirokawa.netflowers.jp/entry/4900/
4. QRcode Perl CGI & PHP scripts
Address: http://www.swetake.com/qr/qr_cgi.html