📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
firmarehberiv1.demodesign.com.tr
/
ajax
📝
user_process_login.php
← Geri Dön
<?php define('INC', true); ob_start(); require_once("../include/functions.php"); require_once("../system/class-user-function.php"); sec_session_start(); require_once("../system/csrf.class.php"); $csrf = new csrf(); // Generate Token Id and Valid $token_id = $csrf->get_token_id(); $token_value = $csrf->get_token($token_id); $email = addslashes(strip_tags(trim($_POST['email']))); $password = addslashes(strip_tags(sha1(sha1(sha1($_POST['password']))))); // The hashed password. if ($csrf->check_valid('post') && user_login($email, $password, $db) == true) { // Login success echo '<div class="alert alert-success"> <strong>Başarılı</strong> Lütfen bekleyin.<br> Tarayıcınız yönlendirmeyi desteklemiyorsa lütfen <a onClick="window.location.href=window.location.href" style="cursor:pointer; font-weight:bold;">TIKLAYIN</a> </div> <meta http-equiv="refresh" content="3;URL=user/panelim.html" />'; exit(); } else { // Login failed echo '<div class="alert alert-danger"> <strong>Hata!</strong> Girdiğiniz bilgiler geçersiz. </div>'; exit(); } ?>
💾 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