Reply to Re: How to Validate Address?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация