php设置cookie
setcookie("loginname", $_POST['loginname'], time()+ * * ,'/');
setcookie("password", $password, time()+ * * ,'/');
//清除cookie
setcookie("loginname",'',time()-1,'/');
setcookie("password", '',time()-1,'/');
php设置cookie
setcookie("loginname", $_POST['loginname'], time()+ * * ,'/');
setcookie("password", $password, time()+ * * ,'/');
//清除cookie
setcookie("loginname",'',time()-1,'/');
setcookie("password", '',time()-1,'/');