This is a PHP class to do various calculations with zip codes. Its primary purposes are to calculate the distance between two zip codes and to extract all the zip codes that are within a range of a given zip code. All calculations are based on lattitude and longitude coordinates stored in the database. Included is a class file, demonstration file, and the sql files required to create and populate the MySQL tables.
** UPDATE **
Added code to make the function which gets a range of zip codes execute ALOT faster. Went from 3.2 seconds to 0.42 seconds! Modification was submitted by Jeff Bearer
you know actually i got on this blog by an aneidcct,didnt mean to search this.but still this post was a good read but surely agruable one.
Comment by Sory
Date: 03-10-2012
I was very pleased to find this web-site.I wtaend to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.
Comment by Aline
Date: 03-08-2012