function DoECookieRnd($userid,$username,$rnd,$dbdata,$groupid,$adminstyle){ global $do_ecookiernd,$do_ckhloginip; $ip=$do_ckhloginip==0?'127.0.0.1':egetip(); $ecmsckpass=md5(md5($rnd.$do_ecookiernd).'-'.$ip.'-'.$userid.'-'.$username.'-'.$dbdata.$rnd.$groupid.'-'.$adminstyle); esetcookie("loginecmsckpass",$ecmsckpass,0,1); }
我的代码是这样的也是改成你那样的么?
|