RE: [PHP] email validation string.

2007-01-20 Thread tedd
At 5:54 PM +0200 1/19/07, WeberSites LTD wrote: Top Ajax : I meant that at the top of WeberDev.com there is an Ajax search box that you can use to search for email validation and see many related code examples to choose from. berber berber: Your original post was clear enough for me to

Re: [PHP] email validation string.

2007-01-20 Thread tedd
On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote: I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg([EMAIL PROTECTED],$submittedEmail)) The book I'm referencing has this line if (ereg([EMAIL PROTECTED],$submittedEmail)) Anyway.. I

Re: [PHP] email validation string.

2007-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500: I picked this up in my travels. function validate_email($email) { // Create the syntactical validation regular expression $regexp = ^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$; One of my email

Re: [PHP] email validation string.

2007-01-20 Thread tedd
At 3:04 PM + 1/20/07, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500: I picked this up in my travels. function validate_email($email) { // Create the syntactical validation regular expression $regexp =

Re: [PHP] email validation string.

2007-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500: At 3:04 PM + 1/20/07, Roman Neuhauser wrote: One of my email addresses is [EMAIL PROTECTED] Thanks, I'll add that to my kill list. Vietnam vet... Old habits don't go away easily huh? -- How many Vietnam vets does it take to screw in a

Re: [PHP] email validation string.

2007-01-20 Thread tedd
At 3:47 PM + 1/20/07, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500: At 3:04 PM + 1/20/07, Roman Neuhauser wrote: One of my email addresses is [EMAIL PROTECTED] Thanks, I'll add that to my kill list. Vietnam vet... Old habits don't go away easily huh? I

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
Try this : http://www.weberdev.com/get_example-3274.html berber -Original Message- From: Don [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 10:41 PM To: php-general@lists.php.net Subject: [PHP] email validation string. I'm trying to get this line to validate an email

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg([EMAIL PROTECTED],$submittedEmail)) The book I'm referencing has this line if (ereg([EMAIL

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
, January 19, 2007 12:17 PM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't

Re: [PHP] email validation string.

2007-01-19 Thread 'Roman Neuhauser'
Don't top-post. Trim quoted material. Use a mail user agent that doesn't screw up quoting. There's a plugin for Outlook to fix it. Thanks. # [EMAIL PROTECTED] / 2007-01-19 12:15:15 +0200: From: Roman Neuhauser [mailto:[EMAIL PROTECTED] # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: Try

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. If I add the second (original) backslash it won't validate emails anymore. Also, from my little knowledge of Red.Exp. the

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 14:46:04 +: 1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. -- How many Vietnam vets does it take to

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. As far as I can read, I never talked about JavaScript... Maybe the fact that I talked about a

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
1:47 PM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. Don't top-post. Trim quoted material. Use a mail user agent that doesn't screw up quoting. There's a plugin for Outlook to fix it. Thanks. # [EMAIL PROTECTED] / 2007-01-19 12:15:15 +0200

RE: [PHP] email validation string.

2007-01-19 Thread bruce
, January 19, 2007 2:17 AM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 15:43:32 +: 1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. As far as I can read, I never talked

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
Where can I check out the plugin? Maybe I shouldn't have mentioned plugin and firefox... It's not a plugin for firefox like other firefox's plugins... In fact, when I downloaded somewhere arround the web the name of the thing (won't call it plugin again) was Site Programmer Plugin Assistant

[PHP] email validation string.

2007-01-18 Thread Don
I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg([EMAIL PROTECTED],$submittedEmail)) The book I'm referencing has this line if (ereg([EMAIL PROTECTED],$submittedEmail)) Anyway.. I welcome any advice as long as it doesn't morph into a

Re: [PHP] email validation string.

2007-01-18 Thread Nick Stinemates
I just got this from: http://php.net/preg_match ?php if(eregi (^[[:alnum:[EMAIL PROTECTED],6}$, stripslashes(trim($someVar { echo good; } else { echo bad; } ? Hope it works out for you. - Nick Stinemates On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote: I'm trying to get this line

Re: [PHP] email validation string.

2007-01-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-18 06:07:24 -0800: I just got this from: http://php.net/preg_match ?php if(eregi (^[[:alnum:[EMAIL PROTECTED],6}$, stripslashes(trim($someVar That would reject many of my email addresses. This is more in line with the standards: