时间:2021-07-01 10:21:17 帮助过:13人阅读
function marrbase(){
if(isset($_COOKIE["uname"]) && isset($_COOKIE["uid"])){
global $mbase;
$mbase_data = mysql_query("select * from dh_member where `id`=" . $_COOKIE["uid"] . " and `mck`=1");
if (!$mbase_data){die(mysql_error());exit();}
$mbase = mysql_fetch_array($mbase_data);
}
else{exit();}
}
require_once("member.inc.php");
function supp(){
marrbase();
echo $mbase["email"]; exit();
}