🔒 Closed Password meter

Status
Not open for further replies.
Gusto kong po sanang mangyari is hindi tatangapin ng system kapag hindi strong ang kanyang password na input ito po
sana po may makatulong thanks!

PHP:
{
            if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
                exit('Email is not valid!');
            }
            if (preg_match('/^[a-zA-Z0-9]+$/', $_POST['username']) == 0) {
                exit('Username is not valid!');
            }
            if (!preg_match('/[A-Za-z0-9]/', $_POST['password']) || strlen($_POST['password']) < 8) {
                exit('Password must be strong');
            }
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 357
    Views
  • 2
    Participants
Last reply from:
M H I N Y E

Trending Topics

Online now

Members online
1,225
Guests online
2,982
Total visitors
4,207

Forum statistics

Threads
2,308,119
Posts
29,183,366
Members
1,191,846
Latest member
razgriz122
Back
Top