Re: [PHP] validate phone numbers

2001-06-20 Thread Steve Werby
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)) {

RE: [PHP] validate phone numbers

2001-06-20 Thread scott [gts]
...), 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 #s in many different formats and sometimes it's

Re: [PHP] validate phone numbers

2001-06-20 Thread Miles Thompson
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

[PHP] validate phone numbers

2001-06-19 Thread Richard Kurth
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)) { $wphone_no = trim($wphone_no); if