Login   Register  
PHP Classes
elePHPant
Icontem

Zip Codes Range: Finds zip codes within distance of other zip code

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-12-15 (9 years ago) RSS 2.0 feedStarStarStar 56%Total: 2,954 All time: 1,164 This week: 1,584Down
Version License Categories  
zipcodesrange 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 find all United States zip codes within a given distance range of a given zip code.

It queries a zip code database and will return an array of zip codes plus the distance from the original zip code.

Innovation Award  
PHP Programming Innovation award nominee
May 2004
Number 7


Prize: One subscription to the PHP Magazine
There are certain types of Web applications that can benefit from knowing the exact geographic location of their users. Some of those applications could for instance tell about resources of the interest of the users that are located in their neighborhood.

Most users are not able to tell where they are located, but usually they are able to tell what is the postal zip code of their region. Each zip code can be associated with the approximate geographic coordinates of its region.

Locating resources near the region of an user is a matter of determine which zip codes are located within a reasonable limit distance from the zip code informed by the user.

This class provides a solution this problem suitable for sites of users living the United States. It consists in looking up a database of coordinates of zip codes to figure which other zip codes are located in the same region.

Manuel Lemos
Picture of Scott Mattocks
Name: Scott Mattocks <contact>
Classes: 4 packages by
Country: United States United States
Age: 36
All time rank: 11812 in United States United States
Week rank: 1105 Down121 in United States United States Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file ZipCodesRange.class.php Class Class file
Accessible without login Plain text file ZipCodesTableDoc.txt Doc. Database Documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,954All time:1,164
 This week:0This week:1,584Down
 User Ratings  
 
 All time
Utility:82%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:62%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1152