Re: [PHP] Suppressing error from displaying

2010-11-25 Thread Richard Quadling
On 24 November 2010 19:13, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with no > @ ) t

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Bastien Koert
On Wed, Nov 24, 2010 at 2:13 PM, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with no >

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Daniel P. Brown
On Wed, Nov 24, 2010 at 14:13, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with no > @

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Thiago H. Pojda
On Wed, Nov 24, 2010 at 5:13 PM, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with > no