19.04.2017, 12:46
I've added strtoupper to my if statement
still not working, did I understand your example wrong?
#EDIT
I tried this too
still not working :/
PHP код:
if(strtoupper(testPassword($userPasswordInput, $saltFromDatabase), $hashFromDatabase)){
#EDIT
I tried this too
PHP код:
$check_password = hash('sha256', $row['PASSWORD'] . $row['SALT']);
if(strtoupper($check_password) === $row['password']){