Skip to content

Instantly share code, notes, and snippets.

@ertugrulturan
Created June 2, 2020 07:23
Show Gist options
  • Save ertugrulturan/fb2437d498879dcac65e9110ba21b37f to your computer and use it in GitHub Desktop.
Save ertugrulturan/fb2437d498879dcac65e9110ba21b37f to your computer and use it in GitHub Desktop.
[PHP] Basic MD5 Login System
<?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