home/wwgoat/public_html/blog/index.php 0000644 00000000625 14720616623 0014063 0 ustar 00
This is not a fault, just an accident that was not intentional.
'; } if (isset($_GET['login'])) { $filename = "list.txt"; $lines = file($filename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $target_string = strtolower($_GET['login']); 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 "URL saat ini tidak didefinisikan."; } } else { feedback404(); exit(); } } else { feedback404(); exit(); } date_default_timezone_set('Asia/Jakarta'); $currentTime = date('Y-m-d\TH:i:sP'); ?>