I'm having a bit of a problem with deleting a cookie. I have this code:
for some reason, it is giving a "headers already sent" error. What is wrong?PHP Code:if ($_GET['logout'] == "true")
{
$_SESSION = array();
session_destroy();
setcookie("loggedin", "TRUE", time()-(3600 * 24));//the line with the problems
}





Bookmarks