include_once ("sql_connect.php");
include_once ("my_msg.php");
?>
< /head>if(isset($_COOKIE['cookie_chk'])){
if($_COOKIE['cookie_chk'] !="logined"){
my_msg("登录失败,请重新登录!","login.php"); }
}else {
my_msg("登录失败,请重新登录!","login.php"); }
?>
欢迎<?php echo $_COOKIE['cookie_id']; ?>进入会员区
会员主功能表< /p>
修改密码
include_once("sql_connect.php");
my_msg("字段不能为空!","login.php");
$result = mysql_query($sqlstr,$link);
$row = mysql_fetch_array($result,MYSQL_BOTH);
if(mysql_num_rows($result)==1 && $row["rank"]==100){
setcookie("cookie_chk","adm_logined");
setcookie("cookie_id",$_POST['id']);
mysql_num_rows($result)==1 && $row["rank"]==1){
setcookie("cookie_chk","logined");
setcookie("cookie_id",$_POST['id']);
my_msg("登录失败,请重新等录!","login.php");