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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -