🔒 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
  • 349
    Views
  • 2
    Participants
Last reply from:
M H I N Y E

Trending Topics

Online now

Members online
1,055
Guests online
2,241
Total visitors
3,296

Forum statistics

Threads
2,278,138
Posts
28,981,121
Members
1,228,238
Latest member
zandermark23
Back
Top