Thread: Zip Codes

    #1
  1. No Profile Picture
    RobS
    Guest
    Devshed Newbie (0 - 499 posts)
    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?
  2. #2
  3. No Profile Picture
    Ulf Wendel
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi Robs,

    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

    or
    the well known book "Learning Perl".
  4. #3
  5. No Profile Picture
    gpupurs
    Guest
    Devshed Newbie (0 - 499 posts)
    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 gpupurs@netscape.net and I'll email it to you...

Similar Threads

  1. How to make a 3 digits zip codes freight zone in php?
    By knightjt02 in forum PHP Development
    Replies: 12
    Last Post: August 4th, 2003, 03:04 PM
  2. Textfield, php and zip codes..
    By psalzmann in forum PHP Development
    Replies: 4
    Last Post: March 29th, 2003, 10:08 AM
  3. Replies: 4
    Last Post: January 28th, 2003, 11:12 PM
  4. zip codes
    By bankaccount in forum PHP Development
    Replies: 4
    Last Post: October 3rd, 2002, 11:22 PM
  5. upload zip and move files to dir
    By m0nk3y in forum PHP Development
    Replies: 6
    Last Post: April 11th, 2002, 02:19 PM

IMN logo majestic logo threadwatch logo seochat tools logo