Jim7283
05-13-2008, 02:53 PM
Hi All,
Our user database has grown to over 150,000 and in an attempt to enhance the current user search feature in the admin area we would like to be able to pull lists of people via zip code radius.
You've probably seen this functionality everywhere on the web - just plug in the zip code and check an option for 5,10,25 etc. miles and it returns the right listing.
Does anyone know how this is done, and if it can be replicated using PHP? Is there some sort of zip code database that is available to compare our users zip codes against? How is the distance between zip codes calculated?
I'm about to start researching this now, but figured I would post here as well in case anyone else has done something like this...
Our user database has grown to over 150,000 and in an attempt to enhance the current user search feature in the admin area we would like to be able to pull lists of people via zip code radius.
You've probably seen this functionality everywhere on the web - just plug in the zip code and check an option for 5,10,25 etc. miles and it returns the right listing.
Does anyone know how this is done, and if it can be replicated using PHP? Is there some sort of zip code database that is available to compare our users zip codes against? How is the distance between zip codes calculated?
I'm about to start researching this now, but figured I would post here as well in case anyone else has done something like this...