PHP Check String Password – String Function

<?php
$GoodPassword = 'asdfg';
$password = 'asdf';
if ($password == $GoodPassword){
    print "<b>Password verified!</b>\n";
}
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.