# 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-grid.css | 44.83 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-grid.css.map | 93.66 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-grid.min.css | 33.45 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-grid.min.css.map | 74.42 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-reboot.css | 5.01 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-reboot.css.map | 56.37 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-reboot.min.css | 3.85 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap-reboot.min.css.map | 25.27 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.css | 182.74 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.css.map | 402.00 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.min.css | 141.49 KB | November 07 2024 11:40:46. | 0666 | ||
bootstrap.min.css.map | 538.71 KB | November 07 2024 11:40:46. | 0666 |