<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_52442"> <div class="blockcode"> <div id="code_boM"><ol> <li><?php<li>session_start();<li>header('Content-Type:text/html;charset=gb2312');<li>include_once("conn/conn.php");<li>if (!empty($ _GET['name']) && !is_null($_GET['name'])){ //激活性注册用户<li> $num=$conne->getRowsNum("select * from tb_member where name='".$_GET ['name']."' およびパスワード = '".$_GET['pwd']."'");</li> <li> if ($num>0){</li> <li> $upnum=$conne->uidRst("update tb_member set active = 1 where name='".$_GET['name']."'、password = '".$_GET['pwd']."'");</li> <li> if($upnum > 0){</li> <li> $_SESSION['name'] = $_GET['name'];</li> <li> echo "<script>alert('用户激活成功!');window.location.href='main.php';</script> ";</li> <li> }else{</li> <li> echo "<script>alert('您已经激活!');window.location.href='main.php';</script>";</li> <li> }</li> <li> </li> <li> }else{</li> <li> echo "<script>alert('用户激活失败!');window.location.href='register.php';</script>";</li> <li> }</li> <li>}</li> <li>?></li> </ol></div> <em onclick="copycode($('code_boM'));">复制代码</em> </div> </td></tr></table> <div id="comment_52442" class="cm"> </div> <div id="post_rate_div_52442"></div> <br><br>