Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
> Trying to finish a PHP book while watching the Packers is not working > for me too well. ;-) yeah.. me trying to keep up with the php list, follow streams of thought from the posts that lead to things I need to yet learn, make time off from my other-language/full-time work.. wishing I could

Re: [PHP] email address syntax checker

2011-01-23 Thread Donovan Brooke
Govinda wrote: [snip] Hi D :-) I was following along.. also felt pleased to be introduced to filter_var ... and then happened to see this: http://us3.php.net/manual/en/function.filter-var.php [snip] "Note that FILTER_VALIDATE_EMAIL used in isolation is not enough for most (if not all) web

Re: [PHP] email address syntax checker

2011-01-23 Thread Ashley Sheridan
On Sun, 2011-01-23 at 14:59 -0500, Govinda wrote: > > Peter Lind wrote: > > [snip] > >> if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { > >> echo "Bad user! Bad user!"; > >> } > >> > >> Regards > >> Peter > > > > > > thanks peter... wish I would have known about filter_var before > > writ

Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
> Peter Lind wrote: > [snip] >> if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { >> echo "Bad user! Bad user!"; >> } >> >> Regards >> Peter > > > thanks peter... wish I would have known about filter_var before > writing the other checkers. ;-) Hi D :-) I was following along.. also felt

Re: [PHP] email address syntax checker

2011-01-21 Thread Nisse Engström
On Fri, 21 Jan 2011 18:32:56 +0530, Nilesh Govindarajan wrote: > Okay let me tell you guys one more thing that the validator I posted > earlier is not exactly as per RFC. It does have some variations. > "@"@example.com may be a valid email address, but I doubt very much if > any provider in the

Re: [PHP] email address syntax checker

2011-01-21 Thread Nilesh Govindarajan
On 01/21/2011 06:25 AM, Andre Polykanine wrote: Hej Nisse, Me thinks it isn't a valid address :-). Okay let me tell you guys one more thing that the validator I posted earlier is not exactly as per RFC. It does have some variations. "@"@example.com may be a valid email address, but I doubt

Re: [PHP] email address syntax checker

2011-01-20 Thread Andre Polykanine
Hej Nisse, Me thinks it isn't a valid address :-). -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Ni

Re: [PHP] email address syntax checker

2011-01-20 Thread Nisse Engström
On Thu, 20 Jan 2011 19:03:22 +0530, Nilesh Govindarajan wrote: > Well, I had created an email validator long ago, after a neat research > on Google, reading RFCs, etc. > I don't guarantee that it's without bugs, but it has been correct for me > in all valid & invalid email addresses I used for t

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Nilesh Govindarajan wrote: On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo "Bad user! Bad user!"; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] email address syntax checker

2011-01-20 Thread Nilesh Govindarajan
On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search of the archives and

Re: [PHP] email address syntax checker

2011-01-19 Thread Peter Lind
On 20 January 2011 05:14, Donovan Brooke wrote: > Hi Guys, > > I'm waddling my way through database interaction and thought someone on the > list may already have a simple email checker that they'd like to share... > > you know, looking for the @ char and dots etc.. > > I did a quick search of the

Re: [PHP] email address syntax checker

2011-01-19 Thread David Hutto
On Wed, Jan 19, 2011 at 11:14 PM, Donovan Brooke wrote: > Hi Guys, > > I'm waddling my way through database interaction and thought someone on the > list may already have a simple email checker that they'd like to share... > > you know, looking for the @ char and dots etc.. > > I did a quick searc