There are so many combinations of European phone numbers, along with the
possible combinations of area codes, and hyphens or spaces may be used as
well, I wouldn't bother. If the phone number is critical, and important to
the person using your site, then treatitlike a password and have them ent
pt
numbers, etc...), so that you'd only have to work at
validating the actual number (and not any extraneous
and oddly formatted info)
> -Original Message-
> From: Steve Werby [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] validate phone numbers
>
> people enter
"Richard Kurth" <[EMAIL PROTECTED]> wrote:
> I am using this script to validate for phone numbers and it work just
> perfect for US phone numbers. But it rejects some European and
> Australian numbers what do I need to do to make it validate all phone
> numbers
>
> if (($WPHONE_NO) || ($wphone_no)
3 matches
Mail list logo