Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

E-Mail Verification issue

This code is not allowing a period in email addresses i.e. john.doe@myemail.com How do I change the code so that it will allow it.

CodeDownload  
if(else !preg_match("/^[\w-]+[@]+[a-z]+\.+[a-z]*$/", $_POST['email'])) {

The line is strange, if (else < , the elese is on the wrong side of the ( ..anyway try, tinker with.
CodeDownload  
else if (!preg_match("/^[^@]+@[^@]+\.[a-z]{2,6}$/i",stripinput($_POST['email']))) {

Thanks Falk, I will give it a shot and report back.
Thread Information
Author
Replies
3 posts
Views
385 times
Last Post
Last updated on 9 months ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, afoster