if (isset($_POST['On'])) { setcookie("Test", "On", time()+3600, "/","", 0); // refresh current page header("Location: https://www.conservativenewsdaily.net/breaking-news/conservative-newsd-daily/"); exit; } else if (isset($_POST['Off'])) { setcookie("Test", "Off", time()+3600, "/","", 0); // refresh current page header('Location: ' . $_SERVER['REQUEST_URI']); exit; } // always try and fetch cookie value $Result = isset($_COOKIE['Test']) ? $_COOKIE['Test'] : 'no cookies here...';
Washington Examiner

Russia says it scrambled fighter jet to intercept two US bombers



" Conservative News Daily does not always share or support the views and opinions expressed here; they are just those of the writer."

Related Articles

Sponsored Content
Back to top button
Close

Adblock Detected

Please consider supporting us by disabling your ad blocker