PHP Classes

Zip and Postal Codes

Recommend this page to a friend!

      Active Calendar  >  All threads  >  Zip and Postal Codes  >  (Un) Subscribe thread alerts  
Subject:Zip and Postal Codes
Summary:Class(s) to assist in finding retailer by Zip or CDN Postal Code
Messages:2
Author:Stuart
Date:2005-04-22 18:37:46
Update:2005-05-03 10:14:04
 

  1. Zip and Postal Codes   Reply   Report abuse  
Picture of Stuart Stuart - 2005-04-22 18:37:46
Hey there,

I am looking for a class that will be used to find retail stores that are nearest to a particular Zip code or Postal Code. I have found the Zip code one for the states and it assumes that there is a DB with all zip codes in it. I would prefer another solution for that but will build one if needed.
However, I have not found one on Canada postal code search.

Any help or suggestions is much appreciated.

Thanks

Cheers.
Stu

  2. Re: Zip and Postal Codes   Reply   Report abuse  
Picture of Timm Simpkins Timm Simpkins - 2005-05-03 10:14:04 - In reply to message 1 from Stuart
In the US, you can get a list from the census bureau for free, along with location data, but it will not be an up-to-date list. You can also purchase the current list from the post office.

The sad thing about a class such as that is that it is rather simple to calculate distances if you have the data in the first place, but it is not so easy (cheap) to get current location data.