format("U"); if (isset($_SERVER["HTTP_REFERER"]) && strpos($_SERVER["HTTP_REFERER"], "fl4-network-proxy.alwaysdata.net") !== false) { setcookie("FL_SESSION_TOKEN", $token, $exp, "/", "fl4-network-proxy.alwaysdata.net", true, true); } else { setcookie("FL_SESSION_TOKEN", $token, $exp, "/", "famishare.ddns.net", true, true); } die("ok"); } else { die("no"); }