Topic: Problem with check email function (Read 2708 times)
Kill the googlebot
Posts: 6
44 credits Members referred : 0
Turkish translator
« on: Aug 21, 2006, 01:07:43 pm »
Hi Olaf,
I just noticed that when the domain part of an email contains a hyphen ("-") the registration form returns an error message: "Please check your e-mail and follow the instructions"
I tried a couple of different emails with a hyphen, and got the same error message. So I thought that the check email function might be causing this error.
The pattern that yields the said error is as follows:
myemail@my-site.com (or net or whatever it is).
Could you please check it?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Aug 21, 2006, 01:10:57 pm »
does this happen during the registration?
Kill the googlebot
Posts: 6
44 credits Members referred : 0
Turkish translator
« Reply #2 on: Aug 21, 2006, 01:19:08 pm »
Hi Olaf, Thank you for your prompt response. Yes, it occurs during registration.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
Don't understand whats wrong do you want to test if a email address exists? someone@finalweb-sites.com is a valid domain but does not exist...
No.
When a visitor tries to register by using his email: someone@some-site.com (a valid email), he fails, because the script issues an error message saying that he should check the email (i.e., there is a problem with the email). But this occurs only when the some-site.com part contains a hyphen "-".
Kill the googlebot
Posts: 6
44 credits Members referred : 0
Turkish translator
« Reply #6 on: Aug 21, 2006, 02:27:47 pm »
Hi again,
I just checked the user database and saw that the registration is OK. So, it seems that the script issues an error message after updating the database!
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
I just checked the user database and saw that the registration is OK. So, it seems that the script issues an error message after updating the database!
I don't have the problem, please post your function that is validating the e-mail address.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3743