This is a discussion on address validation within the PHP Language forums, part of the PHP Programming Forums category; when designing the address data entry webpage, i wonder... is there an online map/direction webpage that allow us to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
alanchinese@yahoo.com (Alan Zhong) wrote in message news:<b09c98a8.0403051118.2ca4a1ab@posting.google. com>...
> when designing the address data entry webpage, i wonder... > is there an online map/direction webpage that allow us to check if an > address is validate? or auto-completes city names from the zip code? Perhaps <http://www.geobytes.com/IpLocator.htm> -- "I don't believe in the God who doesn't give me food, but shows me heaven!"--Swami Vivekanandha If you live in USA, please support John Edwards. Email: rrjanbiah-at-Y!com |
|
|||
|
Alan Zhong <alanchinese@yahoo.com> wrote:
> when designing the address data entry webpage, i wonder... > is there an online map/direction webpage that allow us to check if an > address is validate? or auto-completes city names from the zip code? The USPS offers a free service, which will auto-complete and canonicalize domestic addresses. However, the process to get an approved account is tedious. Here's their site: http://www.usps.com/webtools/welcome.htm The API is superficially `XML', but in reality the implementation seems to just use lots of strcmp() ;) So, follow the examples _exactly_--letter by letter, space by space. If anybody manages to get an account and is interested, I can post some PHP classes which handle everything quite nicely. - Bill |
|
|||
|
William Ahern <william@wilbur.25thandClement.com> wrote in message news:<qgsph1-4jo.ln1@wilbur.25thandClement.com>...
> Alan Zhong <alanchinese@yahoo.com> wrote: > > when designing the address data entry webpage, i wonder... > > is there an online map/direction webpage that allow us to check if an > > address is validate? or auto-completes city names from the zip code? > > The USPS offers a free service, which will auto-complete and canonicalize > domestic addresses. However, the process to get an approved account is > tedious. Here's their site: > > http://www.usps.com/webtools/welcome.htm > > The API is superficially `XML', but in reality the implementation seems to > just use lots of strcmp() ;) So, follow the examples _exactly_--letter by > letter, space by space. > > If anybody manages to get an account and is interested, I can post some PHP > classes which handle everything quite nicely. I didn't signup there. But, I'm really interested in seeing your code & style. -- "I don't believe in the God who doesn't give me food, but shows me heaven!"--Swami Vivekanandha If you live in USA, please support John Edwards. Email: rrjanbiah-at-Y!com |