📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv10.demodesign.com.tr
/
includes
/
post
/
users
📝
hesap_sifre_degispost.php
← Geri Dön
<?php /* * @ https://EasyToYou.eu - IonCube v11 Decoder Online * @ PHP 7.2 * @ Decoder version: 1.0.4 * @ Release: 01/09/2021 */ if ($_POST && "0" < $userSorgusu->rowCount()) { $mevcutsifre = trim(strip_tags($_POST["old_password"])); $sifre1 = trim(strip_tags($_POST["new_password"])); $sifre2 = trim(strip_tags($_POST["new_password_again"])); if ($demo != "1") { if (md5($mevcutsifre) == $userCek["uyesifre"]) { if ($sifre1 && $sifre2) { if ($sifre1 == $sifre2) { if ($mevcutsifre != $sifre1) { $sifre = md5($sifre1); $guncelle = $db->prepare("UPDATE uyeler SET\r\n uyesifre=:uyesifre\r\n WHERE id=" . $userCek["id"] . " \r\n "); $sonuc = $guncelle->execute(["uyesifre" => $sifre]); if ($sonuc) { $_SESSION["sifredegis_durum"] = "success"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } else { echo "Veritabanı Hatası"; } } else { $_SESSION["sifredegis_durum"] = "sifreayni"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } } else { $_SESSION["sifredegis_durum"] = "sifrefarkli"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } } else { $_SESSION["sifredegis_durum"] = "empty"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } } else { $_SESSION["sifredegis_durum"] = "eskisifrefarkli"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } } else { $_SESSION["demo_alert"] = "demo"; header("Location:" . $ayar["site_url"] . "hesabim/ayarlar/"); } } else { header("Location:" . $ayar["site_url"] . "404"); } ?>
💾 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