version by providing 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 $opts->query; ?> - <?php printtext("settings_title");?></title> </head> <body> <form class="sub-search-container" method="get" autocomplete="off"> <h1 class="logomobile"><a class="no-decoration" href="./">Libre<span class="Y">Y</span></a></h1> <input type="text" name="q" autofocus/> <input type="hidden" name="t" value="0"/> <input type="submit" class="hide"/> <div class="search-button-wrapper"> <button name="t" value="0" type="submit"><?php printtext("search_button"); ?></button> <?php if (1 > strlen($opts->query) || strlen($opts->query) > 256) { header("Location: ./"); die();