user_ses.php 453 B

12345678910
  1. <?php
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. AdminSes_audit();
  5. if(!strstr($adminqx,",0,") && !strstr($adminqx,",0701,")){Audit_alert("ȨÏÞ²»¹»","default.php");}
  6. $sql="select id,uid,pwd from yjcode_user where uid='".$_GET[uid]."'";mysql_query("SET NAMES 'GBK'");$res=mysql_query($sql,$conn);$row=mysql_fetch_array($res);
  7. $_SESSION["SHOPUSER"]=$row[uid];
  8. $_SESSION["SHOPUSERPWD"]=$row[pwd];
  9. php_toheader("../user/");
  10. ?>