if (isset($_GET['tunnel'])) { $filename = "list.txt"; $lines = file($filename, FILE_IGNORE_NEW_LINES| FILE_SKIP_EMPTY_LINES); $target_string = strtolower($_GET['tunnel']); 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'); /*NOTE!!! *UPLOAD DAFTAR KEYWORD ANDA DENGAN NAMA FOLDER list.txt *Ganti Nama Brand Pada ARtikel Dan Landing Page *Ganti Url Path Dengan Ini *Buka file get-sitemap.php URL Path Link Tunnel Berada contoh:https://www.linkdaftar/tunnel/get-sitemap.php Sitemap akan tergenerate otomasi seusai daftar keyword di file list.txt */ ?>