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

Trending Topics

Online now

Members online
1,084
Guests online
1,659
Total visitors
2,743

Forum statistics

Threads
2,292,698
Posts
29,078,801
Members
1,209,449
Latest member
soul13
Back
Top