some of the users are entering their in uppercase letters, or just the first letter is in upper case. Like this, [email protected]. Thus, they are not getting the activation email because the email they have entered is incorrect because of the uppercase and should be all lower case.
How to go about that?
The validation code I am using is this, and is not giving any error msg when the user enters an email with an uppercase letter and just accepts it,..
if (filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL) == FALSE || emailExist($_POST['email']) == FALSE) {
$errors[0] = "Invalid e-mail address.";
}
How to go about that?
The validation code I am using is this, and is not giving any error msg when the user enters an email with an uppercase letter and just accepts it,..
if (filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL) == FALSE || emailExist($_POST['email']) == FALSE) {
$errors[0] = "Invalid e-mail address.";
}