Created
June 2, 2020 07:23
-
-
Save ertugrulturan/fb2437d498879dcac65e9110ba21b37f to your computer and use it in GitHub Desktop.
[PHP] Basic MD5 Login System
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$login = 'admin'; | |
$password_md5 = '9b1ade43bb015c3184dd00236dfcec35'; | |
if ($_POST['username'] == $login && md5($_POST['password']) == $password_md5{ | |
echo "Login Success !"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment