📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv1.demodesign.com.tr
/
includes
/
post
/
users
📝
resetpasswordchange.php
← Geri Dön
<?php if(isset($_POST['reset'])) { if($_POST['newpass'] ) { $sifre = md5($_POST['newpass']); /* Üye sorgula */ $uyeCek = $db->prepare("select * from uyeler where id=:id "); $uyeCek->execute(array( 'id' => $_SESSION['uyeids'] )); if($uyeCek->rowCount()>0 ) { /* Update işlemi */ $guncelle = $db->prepare("UPDATE uyeler SET uyesifre=:uyesifre WHERE id={$_SESSION['uyeids']} "); $sonuc = $guncelle->execute(array( 'uyesifre' => $sifre, )); if($sonuc){ $_SESSION['cgpass'] = 'success'; header('Location:uye-girisi'); unset($_SESSION['uyeids']); unset($_SESSION['epostareset']); }else{ echo 'Veritabanı Hatası'; } /* Update işlemi SON */ }else{ header('Location:404'); } /* Üye sorgula SON */ }else{ $_SESSION['bos'] = 'bos'; header('Location:password-reset?key='.$_SESSION['epostareset'].''); } } ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula