A qr code is used to record data information with a specific geometric image on a plane. a QR code is a common QR code. The QR principle is complicated to understand. it takes a lot of time to process it by yourself. We recommend a php class library PHPQRCode that generates QR codes. I have used SyntaxHighlighter. all () for more than a year. the QR code is used to record data information on a plane with a specific geometric image. the QR code is a common QR code. The QR principle is complicated to understand. it takes a lot of time to process it by yourself. We recommend a php class library php qr Code that generates QR codes. I have been using this for more than a year and have not found any problems. I will share it with you.
Home Address: Workshop.
QR code
Data indicates the Data to be recorded. a maximum of 984 UTF-8 encoded Chinese characters can be stored.
ECC indicates the error correction level. the higher the error correction level, the larger the image to be generated.
L horizontal code 7% can be corrected M horizontal code 15% can be corrected Q horizontal code 25% can be corrected H horizontal code 30% can be corrected
Size indicates the pixels of each black spot in the image.
Code call example:
Include "qrlib. php "; QRcode: png ($ data, $ filename, $ errorCorrectionLevel, $ matrixPointSize, $ margin ); /* $ data $ name of the image saved by filename $ errorCorrectionLevel error handling level $ matrixPointSize pixels of each black spot $ white border pixels outside the margin image */
For details about the QR code, refer to the QR Wikipedia. the Chinese version is rarely described. The English version is very comprehensive.