This class can be used to retrieve a list of United States zip codes within the range a given zip code with an accuracy of about 2 to 5 miles.
This class is based primarily on Zip Codes Range originally written by Scott Mattocks. This version that uses a more precise distance calculation method.
It searches in a MySQL database with a table preloaded with zip codes and the respective latitude and longitude coordinates.
The class stores the zip codes that are found and the respective distances in an array class variable.