🔒 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
  • 364
    Views
  • 2
    Participants
Last reply from:
S A K A T A

Trending Topics

Online now

Members online
632
Guests online
2,907
Total visitors
3,539

Forum statistics

Threads
2,331,557
Posts
29,258,883
Members
1,149,689
Latest member
Jakko666
Back
Top