Zip Code Redirect Script?

Discussion in 'HTML & Website Design' started by thebeacon, Jan 26, 2008.

  1. #1
    Looking for a zip code redirect script. Specifically a script that knows which state is the zip code from.

    For example if some one types in a zip code from North Carolina the user will be taken to north Carolina Page. If user types in a zip code from Nevada, user will be taken to Nevada page.

    Your help will be greatly appreciated. Thanks
     
    thebeacon, Jan 26, 2008 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    very simple to do... and there are lots of zip code databases about the place which you can download for free...

    just look up the state from the zip and write the redirection to the user.
     
    AstarothSolutions, Jan 26, 2008 IP
  3. James Gober

    James Gober Guest

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just check the format the zip code database comes in, it took me awhile to convert mine from CSV to SQL.
     
    James Gober, Jan 26, 2008 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Given it will most likely need to be in an SQL server the "database" will most likely be pure data and CSV is the most common format but saying that the one we were sent was in excel. There are plenty of free tools that can easily upload to any SQL format using these unless you have some bazaar data mapping you want doing but then a few lines of .Net or PHP will fix it.
     
    AstarothSolutions, Jan 27, 2008 IP