September 16th, 1999, 11:43 AM
I'm writing a customer infomation page right now, and I'm working on looking for any info on Zip Code checking. Does PHP have anything to compare Zip codes/states/cities?
If not, anyone got tips on where to go from there?
September 21st, 1999, 02:41 AM
due to the fact that zip codes are regionally different I wouldn't like to see a native php function testing for us or english or frensh or whatever zip codes. It simply makes no sense for most of us.
Use a regular expression to test for valid codes: http://www.php.net/manual/pcre.pattern.syntax.php3
the well known book "Learning Perl".
September 26th, 1999, 05:15 PM
I have an Access database I found on one of the ASP websites which has all the ZIP codes in the US with their corresponding city, state, and county listed. I can't find the original URL for it right now, but if it would be useful for you, email me at email@example.com and I'll email it to you...