📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv1.demodesign.com.tr
/
includes
/
post
/
users
📝
loginpost.php
← Geri Dön
<?php if(isset($_POST['userlogin'])){ $epostaname = trim(strip_tags($_POST['emailadress'])); $pass_sifre = md5($_POST['password']); if (filter_var($epostaname, FILTER_VALIDATE_EMAIL)){ if ($epostaname && $pass_sifre) { $kullanicisor = $db->prepare("SELECT * from uyeler where eposta=:eposta and uyesifre=:uyesifre"); $kullanicisor->execute( array( 'eposta' => $epostaname, 'uyesifre' => $pass_sifre ) ); $say = $kullanicisor->rowCount(); if ($say > 0) { $_SESSION['user_email_address'] = $epostaname; header('Location:index.html'); }else { header('Location:uye-girisi'); $sorun = '<strong>HATA!</strong> Giriş bilgileriniz yanlış!'; $_SESSION['uyegiris_sorun'] = $sorun; } } else { header('Location:uye-girisi'); $sorun = '<strong>HATA!</strong> Boş alan bırakamazsınız.'; $_SESSION['uyegiris_sorun'] = $sorun; } }else { header('Location:uye-girisi'); $sorun = '<strong>HATA!</strong> Geçerli bir e-posta adresi girin'; $_SESSION['uyegiris_sorun'] = $sorun; } } else { header('Location:index.html'); } ?>
💾 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