|
Posted by Beauregard T. Shagnasty on 06/19/07 16:36
vunet.us@gmail.com wrote:
> On the website form, if user enters invalid address, is there a tool
> to check city, zip, etc. for USA? I want to avoid users entering some
> blah-blah info when registering with my service.
You would need a back-end database containing all the ~43,000 US
zipcodes and their associated cities. You would also need the
server-side processing to manage it.
Note that some adjacent, small cities (towns/villages) share a zipcode,
so you would have to code appropriately.
You can purchase zipcode databases (tables) at various web sites for as
little as $150US per year. There are normally quarterly updates.
A visitor, once realizing you are checking zipcodes, may still enter a
bogus name and street address.
Anony Moose
123 Blahblah Street
Zap, ND 58580
--
-bts
-Motorcycles defy gravity; cars just suck
[Back to original message]
|