I am getting the error:
Parse error: syntax error, unexpected T_STRING on line 9
and I cannot figure out why.
<?
session_start();
include("dbconf.php");
include("login.php");
if(isset($_COOKIE['cookname']) && isset($_COOKIE['cookpass'])){
setcookie("cookname", "", time()-60*60*24*365, "\");
setcookie("cookpass", "", time()-60*60*24*365, "\");
}
if(!$logged_in){
echo "You are not logged in. Please log in and then log out.";
}
else{
unset($_SESSION['username']);
unset($_SESSION['password']);
$_SESSION = array();
session_destroy();
echo "You have successfully logged out.";
}
?>