Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

[IMPROVEMENT] Email verification script #10

Open
123Dragon opened this issue Jun 16, 2017 · 3 comments
Open

[IMPROVEMENT] Email verification script #10

123Dragon opened this issue Jun 16, 2017 · 3 comments

Comments

@123Dragon
Copy link

The email verification script checks for the "@" symbol only.
So if you have email@email, it is valid.

Can we use this function to validate the email?
$email = test_input($_POST["email"]); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $emailErr = "Invalid email format"; }

@trydalcoholic
Copy link
Owner

Where exactly do you want to check email?

@123Dragon
Copy link
Author

123Dragon commented Jul 5, 2017

There is email validation but it doesn't take into account the domain extension: polo@polo isn't a valid email.
email

There is several email validations in the template.

@trydalcoholic
Copy link
Owner

I agree, this is not a correct method.
It is implemented through jquery and is embedded in the framework. With this question, I'll turn to the framework developers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants