ereneser adlı üyeden alıntı: mesajı görüntüle
Merhaba temada giriş bölümünde md5 yerine hash kodlu giriş yapmayı nasıl sağlayabilirim yardımcı olurmusunuz

Örnek bu kod ile : $2y$10$CXIDBjMYoNeWYJ55Lxi17eaoG2FTIO1X9I96npMqJsc goV1qRVNOa

 if (isset($_POST["loginol"])) {
        $email  =$_POST["mail"];
         $password   =md5($_POST["password"]);
          $kullanicivarmi= $vt->prepare("select * from uye where email=? && password=?");
          $kullanicivarmi->execute(array($email,$password));
          $row= $kullanicivarmi->rowCount();
          if ($row>0) {
            $_SESSION["mail"]=$email;
            $_SESSION["password"]=$password;
            echo' <META HTTP-EQUIV="Refresh" content="2;URL=loginoldu.php/"> ' ;
          }else{
           echo' <META HTTP-EQUIV="Refresh" content="2;URL=login.php">' ;
          }
      }
$sifre = $_GET['password']
$hash_s= password_hash($sifre , PASSWORD_DEFAULT);
OKUMA ;

if(password_verify([COLOR=var(--highlight-variable)][FONT=inherit][SIZE=2]$sifre_string[/SIZE][/FONT][/COLOR], [COLOR=var(--highlight-variable)][FONT=inherit]$hash_sifre[/FONT][/COLOR]){    
echo "Sifre dogru.";
}