Tuesday, October 11, 2022

[FIXED] What is the use of barcode in php?

Issue

I have seen a lot of tutorials and articles showing how to generate barcode with Php using Gd library and Pear. But frankly saying i have no idea what is the use of generating them.

Like in retail stores barcodes are printed on a paper to scan and get details of a particular product. But what is the use of barcodes on the web ?

Thanks


Solution

I have built a couple of websites for stores that sold tickets. We used GD to generate barcodes for things such as lift tickets, movie tickets, airline tickets; pretty much any kind of ticket that needed to belong to a particular person.

The barcodes could be scanned using barcode scanners and then marked as used in a database. The barcodes were used, I guess, like any other barcode, they were just generated using PHP.



Answered By - None
Answer Checked By - Robin (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.