Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户想要退出我的网站时,我有一个简单的 PHP 页面可以运行。这是代码:
<?php setcookie("session", "", time()-3600); header("location:signin.php"); ?>
我的问题是,每当我链接到此代码时,服务器都会说找不到该页面,但是当我刷新它时“突然”找到了该页面。为什么会这样,我该如何解决?
位置可能需要一个完全合格的网址,http://whatever.com/signin.php应该可以工作