access to cookies "samesite" => "Strict" // Strict SameSite policy for better protection against CSRF attacks ]); } else { setcookie($key, "", time() - 1000); } } } if (isset($_REQUEST["save"]) || isset($_REQUEST["reset"])) { header("Location: ./"); die(); } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo "<button class="hide" name="t" value="$opts->type"/></button>";