Category Archives: PHP

CakePHP Models and requestAction

This may be kind of a “no duh” for some Cake veterans, but it was new to me, so I’ll share… When it comes to accessing a different Model from a given Controller I had always wondered which was the … Continue reading

Posted in CakePHP, PHP | 1 Comment

Convert UPC-E Barcodes to UPC-A with PHP

Recently I had the need to convert 8 digit UPC-E barcodes to 12 digit UPC-A barcodes for an inventory app I was working on. After lots of Googling, I found this one written in Visual Basic: http://upcdata.info/?action=e2a And did my … Continue reading

Posted in PHP | Leave a comment