Use PHP-Barcode to easily generate a barcode (1) and a php-Barcode barcode

Source: Internet
Author: User

Use PHP-Barcode to easily generate a barcode (1) and a php-Barcode barcode

Recently, due to work needs, I have studied how PHP generates a bar code. Although QR codes are popular nowadays, they are still widely used and cannot be replaced. There are many articles in the garden that use PHP to generate bar code, basically around Barcode Bakery. Although it is powerful, its commercial support is not friendly, and the download of source code is limited to study and research. To avoid legal issues, we recommend a free open-source class library today. PHP-Barcode has good commercial support and is sufficient for general application functions. In addition, the official website provides online examples to experience its powerful functions. Click here to download the latest version from the official website.

After downloading it, run it first. The following figure shows my Configuration:

1) decompress the downloaded package

2) Move all the extracted files to the root directory of the website (~ /Projects/ /)

3) open all the PHP files and modify the PHP declaration label. Set <? ?> Change to <? Php

4) Visit the Virtual Site, http: // localhost: 8090/barcode. php, and you will be able to see the bar code.

For more details, I will take the time to update them ~~


Related Article

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