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

Print Track
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.

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

2 replies

The line is strange, if (else < , the elese is on the wrong side of the ( ..anyway try, tinker with.
else if (!preg_match("/^[^@]+@[^@]+\.[a-z]{2,6}$/i",stripinput($_POST['email']))) {
Thanks Falk, I will give it a shot and report back.
author afoster
forumModifications and Requests - 8
replies3 posts
viewed287 times
activeLast updated on 5 months ago


Security issue for "inactivity" timeout
Started by
shuggins - 11 posts
[SOLVED] Invalid "Dotted" usernames issue.
Started by softgil softgil - 8 posts
How to change the " Mail from " in messages sent by PF ?
Started by
Neoman - 8 posts
Footer.php PHP Operators issue.
Started by Wanabo Wanabo - 6 posts
No www and with www domain.. cookie issue!
Started by
chonghua - 2 posts
Account creation mail is sent even when account creation fails
Started by Falk Falk - 2 posts

Hot Questions

Help With Error Msg
afoster - 3 posts
MysticFire - 14 posts
NetriX - 28 posts
Kevin Maschke
Tabbed panel
Kevin Maschke - 53 posts
You can view all discussion threads in this forum.
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.
Users who participated in discussion: Falk, afoster