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

Trending Topics

Online now

Members online
318
Guests online
4,657
Total visitors
4,975

Forum statistics

Threads
2,354,008
Posts
29,381,738
Members
1,081,239
Latest member
atung
Back
Top