摘要:
setcookie("UserInfo_UserName",$_POST["userName"],time()+3600*1,"/");首先要建立cookie 引用cookie 引用时要在建立cookie的上方建立if条件句判断再引入cookie if($_COOKIE["UserInfo_User 阅读全文
posted @ 2016-06-13 10:44
逆流的致爷
阅读(211)
评论(0)
推荐(0)
摘要:
首先要判断是否用户名密码正确 if(...){ header("location:URL");URL是要跳转的网址! } 阅读全文
posted @ 2016-06-13 09:22
逆流的致爷
阅读(4710)
评论(0)
推荐(0)
摘要:
$test_user=array("heihei","haha","good","best"); function fun(){ if($_POST && $_POST["userName"] &&in_array($_POST["userName"],$this->test_user)); } 在 阅读全文
posted @ 2016-06-13 09:09
逆流的致爷
阅读(147)
评论(0)
推荐(0)

浙公网安备 33010602011771号