address validation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Zhong

    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?
  • R. Rajesh Jeba Anbiah

    #2
    Re: address validation

    alanchinese@yah oo.com (Alan Zhong) wrote in message news:<b09c98a8. 0403051118.2ca4 a1ab@posting.go ogle.com>...[color=blue]
    > 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?[/color]

    Perhaps <http://www.geobytes.co m/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

    Comment

    • William Ahern

      #3
      Re: address validation

      Alan Zhong <alanchinese@ya hoo.com> wrote:[color=blue]
      > 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?[/color]

      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:



      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

      Comment

      • R. Rajesh Jeba Anbiah

        #4
        Re: address validation

        William Ahern <william@wilbur .25thandClement .com> wrote in message news:<qgsph1-4jo.ln1@wilbur. 25thandClement. com>...[color=blue]
        > Alan Zhong <alanchinese@ya hoo.com> wrote:[color=green]
        > > 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?[/color]
        >
        > 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.[/color]

        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

        Comment

        • Alan Zhong

          #5
          Re: address validation

          i had signed up there, they send me an email giving me the username &
          password.
          but i could never pass their authoriation when i put the following in
          the address bar.
          http://testing.shippin gapis.com/ShippingAPITest .dll?API=Verify &XML=<AddressVa lidateRequest%2 0USERID="xxxxxx xx"%20PASSWORD= "xxxxxxxx"><Add ress
          ID="0"><Address 1></Address1><Addre ss2>6406 Ivy
          Lane</Address2><City> Greenbelt</City><State>MD</State><Zip5></Zip5><Zip4></Zip4></Address></AddressValidate Request>
          it always says the usre is not authorized.
          i sent them emails, but they didn't reply for 3 days.
          is it true that after this "testing" i need to send them emails and
          wait for them to turn on the service for me?
          sure if you are kind enough to provide the source code of handling the
          address.
          thankx a lot again.
          from alan.

          Comment

          Working...