Simple Barcode Generation in PHP

a barcodeIf you ever need to generate barcodes in PHP, I have modified a simple library I found to work with register globals off and stripped the debugging code. It doesn't work all the time and input validation could be better, but it seems to work well for the purposes I have used it for. Check out the tgz file attached.

The library requires GD, which I found is NOT included in RHEL 4's copy of PHP 4 or PHP 5 from the default RHN channel. Usually PHP 4 and 5 have GD built in.

AttachmentSize
barcode.tgz18.29 KB