Zip Code Range and Distance Calculation classHits: 13
*****
This is a PHP class to do various calculations with zip codes. It's 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 get's a range of zip codes execute ALOT faster. Went from 3.2 seconds to 0.42 seconds! Modification was submitted by Jeff Bearer
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Date: Apr, 30 2005 Author: Micah Carrick, http://www.micahcarrick.com/v2/content/view/4/3/ {
License}
{
Ratings}Number of Ratings: 0 Votes
Visitor Voting Booth:
{
Others Scripts}
|