Use PHP-Barcode to easily generate a Barcode (1)

Source: Internet
Author: User
: This article describes how to use PHP-Barcode to easily generate a bar code (1). For more information about PHP tutorials, see. 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/test-barcode.com /)

3) open all the PHP files and modify the PHP declaration label. Set Modify

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 ~~

The above describes how to use PHP-Barcode to easily generate a bar code (1), including some content, and hope to help those who are interested in the PHP Tutorial.

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.