php - What is the proper way to validate a physical commercial/residential address? -


currently, limit address 100 characters no rules must composed of. punctuation, digits, letters; welcome.

i use strip_tags upon saving address database (prepared statements). use $this->escape() (zend framework) when echoing page.

i don't want go crazy, think need little more restrictive. missing?

if these addresses, should use united states postal service's apis , standardize addresses.

http://www.usps.com/webtools/


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -