PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,576 All time: 2,497 This week: 404Up
Version License Categories
zipcoderange 1.0The PHP LicenseDatabases, Geography


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: 41
All time rank: 64383 in United States United States
Week rank: 341 Up44 in United States United States Up

  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  
This week:0
All time:2,497
This week:404Up
User Ratings User Comments (1)
 All time