Home >Backend Development >PHP Tutorial >Use PHP-Barcode to easily generate barcodes (1), php-barcode barcode_PHP tutorial

Use PHP-Barcode to easily generate barcodes (1), php-barcode barcode_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 08:58:011952browse

Use PHP-Barcode to easily generate barcodes (1), php-barcode barcode

Recently, due to work needs, I have studied how PHP generates barcodes. Although QR codes are more popular nowadays, barcodes are still widely used and irreplaceable. There are many articles in the garden about using PHP to generate barcodes, basically all of which focus on Barcode Bakery. Although it is powerful, its commercial support is not friendly. Downloading the source code is only for study and research. In order to avoid legal issues, today I recommend an open source and free class library to everyone. PHP-Barcode has good commercial support and is sufficient for general application functions. In addition, the official website also provides online examples to experience its powerful functions. Click here to download the latest version from the official website.

After downloading, run it first. Here is my configuration:

1) Unzip the downloaded package

2) Move all decompressed files to the root directory of the website (~/Projects/test-barcode.com/)

3) Open all PHP files in it and modify the PHP declaration tag. Change to

4) Visit the virtual site, http://localhost:8090/barcode.php. If everything goes well, you will be able to see the barcode

For more detailed usage introduction, I will update it when I have time~~

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1105553.htmlTechArticleUse PHP-Barcode to easily generate barcodes (1), php-barcode barcode Recently, due to work needs, I have studied PHP How to generate a barcode. Although QR codes are more popular nowadays,...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn