使用 Cookie 实现 10 秒后自动跳转
if (!isset($_COOKIE['redirected'])) { setcookie('redirected', 'true', time()+10); $current_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $new_url = 'http://www.host.gay' . $_SERVER['REQUEST_URI']; header('Refresh: 5; URL=$new_url'); echo '
原文地址: https://www.cveoy.top/t/topic/nyta 著作权归作者所有。请勿转载和采集!