There are many examples, and libraries/classes, that can assist in this. Most of these, when you create the image, you save it instead of discarding. Then you can also post the url, or save it in a database for later use. Some examples are as follows:
- http://bmpradeep.wordpress.com/2013/01/29/generating-barcode-using-php/
- http://www.barcodephp.com/en/manual/i25
- http://barcode-coder.com/en/barcode-php-class-203.html
- http://www.phpkode.com/source/s/barcode-generator/barcode-generator/class/i25.barcode.php
Save file using php
solved BarsCode Int25 into image in php [closed]