Re: Phone number validation

From: Date: Sun, 07 Apr 2002 19:00:06 +0000
Subject: Re: Phone number validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91942@lists.php.net to get a copy of this message
http://www.the-acr.com/codes/cntrycd.htm Rick "A good head and good heart are always a formidable combination. But when you add to that a literate tongue or pen, then you have something very special" - Nelson Mandela > From: "Gordon Stewart" <gordonisnz@yahoo.co.nz> > Date: Mon, 8 Apr 2002 00:50:09 +1200 > To: php-general@lists.php.net > Subject: Re: [PHP] Phone number validation > > > Richard Baskett <rick@baskettcase.com> wrote in message > news:B8D50314.4E28%rick@baskettcase.com... >> What I do is strip all non-numeric numbers out and just store the number > as >> a string of numbers.. Then do validation on those numbers.. Make sure the >> right amount of numbers are there, valid country, city codes etc. > Probably >> an easier approach :) > > Just as a curiosity - (I dont need / Want it now - Maybe later....) > > Where / what site, can we get a list of the valid country/city codes ? > > G. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#91942) next »