RE: [PHP] Re: Email Validation built-in? RFC

2005-11-03 Thread bruce
: Robin Vickery [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 25, 2005 5:31 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: Email Validation built-in? RFC On 10/25/05, Mark Charette [EMAIL PROTECTED] wrote: Ben Litton wrote: You could certainly write an extension to do so. That's what

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-25 Thread Robin Vickery
On 10/24/05, Manuel Lemos [EMAIL PROTECTED] wrote: on 10/23/2005 07:21 PM Robin Vickery said the following: ... would it not make sense for there to be a BUILT-IN PHP function of a TRUE email syntactic validation? I don't see that being much better than passing a good regular expression

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-25 Thread Robin Vickery
On 10/25/05, Mark Charette [EMAIL PROTECTED] wrote: Ben Litton wrote: You could certainly write an extension to do so. That's what I did (mostly I was writing one for another purpose and added a function I stole from O'Reilly. As you stated in your article, it isn't rfc822 compliant

[PHP] Re: Email Validation built-in? RFC

2005-10-24 Thread Ben Litton
You could certainly write an extension to do so. That's what I did (mostly I was writing one for another purpose and added a function I stole from O'Reilly. You can find the C code I used here: http://www.oreillynet.com/pub/a/network/excerpt/spcookbook_chap03/index3.html. It's pretty

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-24 Thread Manuel Lemos
Hello, on 10/23/2005 07:21 PM Robin Vickery said the following: Checking MX records is not reliable at all. I agree that it is less useful today, but it still help catches many domain name typos. ... would it not make sense for there to be a BUILT-IN PHP function of a TRUE email syntactic

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-24 Thread Mark Charette
Ben Litton wrote: You could certainly write an extension to do so. That's what I did (mostly I was writing one for another purpose and added a function I stole from O'Reilly. As you stated in your article, it isn't rfc822 compliant (it isn't even close). Richard was pretty specific in

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-23 Thread Robin Vickery
On 10/23/05, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 10/22/2005 12:58 AM Richard Lynch said the following: Checking MX records is not reliable at all. I agree that it is less useful today, but it still help catches many domain name typos. ... would it not make sense for there

[PHP] Re: Email Validation built-in? RFC

2005-10-22 Thread James Benson
It would be nice to have a php function valid_email or something but until then i suppose we just make do with what is available, for what I need I use the following:- eregi(^[a-z0-9]+([_\\.-][a-z0-9]+)* .@.([a-z0-9]+([\.-][a-z0-9]+)*)+.\\.[a-z]{2,}.$,$email) Ive never had problems with

Re: [PHP] Re: Email Validation built-in? RFC

2005-10-22 Thread Richard Lynch
On Sat, October 22, 2005 2:32 pm, James Benson wrote: It would be nice to have a php function valid_email or something but until then i suppose we just make do with what is available, for what I need I use the following:- eregi(^[a-z0-9]+([_\\.-][a-z0-9]+)*

[PHP] Re: Email Validation built-in? RFC

2005-10-22 Thread Manuel Lemos
Hello, on 10/22/2005 12:58 AM Richard Lynch said the following: Checking MX records is not reliable at all. I agree that it is less useful today, but it still help catches many domain name typos. ... would it not make sense for there to be a BUILT-IN PHP function of a TRUE email