PHP generates a QR code with a LOGO online

Source: Internet
Author: User
PHP generates a QR code with a LOGO online. PHP generates a QR code instance program. There are many QR code generation programs on the Internet, but they all generate standard QR codes. A recent project requires a small icon (LOGO) in the middle) after constantly querying the information, I finally made it. the main core is to use a foreign open-source class library-QRCODE, which is really convenient to generate. I hope to provide you with a reference.

Note: when generating a 2D lOGO:
1. set the name of the logoimage shown in the QR code to emwlogo.gif in the format of gif, which is placed in the same directory as the ewmlogo. php file.
2. enter the correct URL in the text box. if the URL format is incorrect, the generated QR code is invalid.

Online demo: http://www.codesc.net/other/phpqrcode

: Http://www.codesc.net/source/3781.shtml

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.