Login   Register  
PHP Classes
elePHPant
Icontem

Zip/Postal Code Lookup Class: Retrieve geographical location for given zip codes

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-11-02 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 760 All time: 4,089 This week: 1,503Up
Version License PHP version Categories  
zippostallookup 1.0BSD License5PHP 5, Web services, Geography
Description Author  

This class can be used retrueve geographical location information for a given zip or postal code from Eyesis service.

It can send an HTTP request to Eyesis Web services API server with a given zip or postal code.

The class returns the response in an array with the associated country, province, city, latitude and longitude.

It can also calculate the distance between two locations given their zip or postal codes.

Picture of Mike Frank
Name: Mike Frank <contact>
Classes: 3 packages by
Country: Canada Canada
Age: 26
All time rank: 26012 in Canada Canada
Week rank: 205 Up6 in Canada Canada Up

  Files folder image Files  
File Role Description
Plain text file class.geodata.inc.php Class The main EyeGeoData class
Accessible without login Plain text file ex1.php Example Example 1 - Lookup zip/postal
Accessible without login Plain text file ex2.php Example Example 2 - Calculating distance

 Version Control Unique User Downloads Download Rankings  
 0%Total:760All time:4,089
 This week:0This week:1,503Up
 User Comments (2)