Monday, April 21, 2008

CakePHP - Zip Code Distance Calculator

Got a new project where we need to calculate the distance between zip codes (find a retail location). I used an open-source script in a project a few years ago, but didn't want to try to dig that up and create a CakePHP wrapper for it (I'm lazy apparently).

After a bit of searching on Google I came across this CakePHP class put together on webdevkungfu. Hopefully it works out.

http://www.webdevkungfu.com/cakephp-zip-code-helper/

1 comment:

Anonymous said...

Great work.