|
 |
asp_discuss thread: How to make a program check user's telepohone numner
Message #1 by "Thang Nguyen" <thangnh_1999@y...> on Mon, 16 Dec 2002 17:17:14
|
|
How to make a program check user's telepohone number .If right , they will
be connected ,and against.
Message #2 by "SEAK, Teng-Fong" <tfseak@f...> on Mon, 16 Dec 2002 18:06:49 +0100
|
|
When someone gives you a number, how could you check if it's right ?
If you know the answer, you should be able to answer your own
question. :)
> -----Message d'origine-----
> De : Thang Nguyen [mailto:thangnh_1999@y...]
> Envoy=C3=A9 : lundi 16 d=C3=A9cembre 2002 18:17
> =C3=80 : asp_discuss
> Objet : [asp_discuss] How to make a program check user's telepohone
> numner
>
>
> How to make a program check user's telepohone number .If
> right , they will
> be connected ,and against.
Message #3 by "Thang Nguyen" <thangnh_1999@y...> on Sun, 22 Dec 2002 08:09:57
|
|
> When someone gives you a number, how could you check if it's
right ?
If you know the answer, you should be able to answer your own
question. :)
> -----Message d'origine-----
> De : Thang Nguyen [mailto:thangnh_1999@y...]
> Envoy=C3=A9 : lundi 16 d=C3=A9cembre 2002 18:17
> =C3=80 : asp_discuss
> Objet : [asp_discuss] How to make a program check user's telepohone
> numner
>
>
> How to make a program check user's telepohone number .If
> right , they will
> be connected ,and against.
That mean you must check user's telephone number before you can permit
they access your Web site. User don't need enter their telephone number,
after they registered in your website. you know?
Message #4 by "SEAK, Teng-Fong" <tfseak@f...> on Mon, 23 Dec 2002 16:23:42 +0100
|
|
> That mean you must check user's telephone number before you
> can permit
> they access your Web site. User don't need enter their
> telephone number,
> after they registered in your website. you know?
You didn't understand me or I didn't understand what you wanted :-)
Let's see. You're just asking again your own question: how to check
a telephone number ?
That's why I asked you to imagine a real situation in which you
obtain a telephone number. What would you do? How do you verify this ?
The answer depends on the level of intelligence you'd like your page
have.
1) Do you first check if the "telephone number" is composed of numbers,
white spaces and minus (or even period) ?
2) Do you check if it has the required number of digits ?
|
|
 |