PHP Classes

Zip Code Range: Get zip codes within a range from a given zip code

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-30 (9 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,560 All time: 2,406 This week: 1,174Up
Version License Categories  
zipcoderange 1.0The PHP LicenseDatabases, Geography
Description Author  
This package is specific mainly for applications used in United States United States .

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.

Picture of Allan Bogh
Name: Allan Bogh <contact>
Classes: 5 packages by
Country: United States United States
Age: 32
All time rank: 60874 in United States United States
Week rank: 1602 Down162 in United States United States Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file Usage.txt Doc. Text file which explains the proper usage.
Plain text file ZipCodesRange.class.php Class Class file which processes the zip codes

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,560All time:2,406
 This week:0This week:1,174Up
User Ratings User Comments (1)  
 All time