SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict jasongr's Avatar
    Join Date
    Jul 2004
    Location
    usa
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to validate a typed zipcode

    Hi people

    I am looking for a function that will validate that a given string constitutes a legal zipcode.
    I don't want just to check the number of digits or that the value is only made of digits.
    I am looking for a more intelligent implementation. For example, one that will catch fake values. like 11111 or 99999 or 12345

    can anyone think of such solution?

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •