0) { $_GET['server'] = explode('.', $_SERVER['HTTP_HOST'])[1]; $_GET['hotel'] = explode('/', $_SERVER['REQUEST_URI'])[2]; } $_GET['locale'] = (isset($_GET['locale']) ? $_GET['locale'] : 1); $_GET['roomkey'] = (isset($_GET['roomkey']) ? $_GET['roomkey'] : 0); $new_url = http_build_query($_GET); $current_url = "https://{$_SERVER['SERVER_NAME']}" . dirname($_SERVER['REQUEST_URI']); if ((isset($_GET['server'])) && (isset($_GET['hotel']))) { $booking_url = "https://{$_GET['server']}.hotellogin.cloud/customer/{$_GET['hotel']}/"; ?>

Achtung! Falscher Parameter: Server / Hotel