www.meinkundencenter.com/modulupload // Ersetzt daten.legasthenietrainer.com/modulupload/index.php // Laeuft same-domain im KC-iframe -> Session c_dlckurz ist verfuegbar. // PHP-5.6-kompatibel (kein ??), reicht ref explizit an neue Domain weiter. session_start(); $ref = ''; if (isset($_SESSION['c_dlckurz']) && $_SESSION['c_dlckurz'] !== '') { $ref = $_SESSION['c_dlckurz']; } if ($ref === '' && isset($_GET['dlckurz]; } if ($ref === '' && isset($_GET['ref'])) { $ref = $_GET['ref']; } if ($ref === '' && isset($_POST['ref'])} $ref = preg_replace('/[^A-Za-z0-9_-]/', '', $ref); if ($ref === '') { header('Location: https://www.meinkundencenter.com/modulupload/'); exit; } ?>