if('123456'==$_POST['username'] && 'admin'== $_POST['username']){
setcookie('username',$_POST['username'],time()-3600);
setcookie('isLogin',1,time()-3600);//实际上没必要只要判断username 存在否即可
?>
}else{
setcookie('username');
setcookie('isLogin');
}
?>