address validation

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-05-2004
Alan Zhong
 
Posts: n/a
Default address validation

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?
Reply With Quote
  #2 (permalink)  
Old 03-06-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: address validation

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
Reply With Quote
  #3 (permalink)  
Old 03-06-2004
William Ahern
 
Posts: n/a
Default Re: address validation

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
Reply With Quote
  #4 (permalink)  
Old 03-07-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: address validation

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0