aa.php文件:
登录用户登录:
some.php文件:
header("Content-Type:text/html; charset=gbk");
sleep(3);
include("conn.php");
$user=$_GET['username'];
$password=$_GET['password'];
//echo $user,$password,$sex,$mail;
$flag1=login($user,$password);
if($flag1)
{
echo "
登录成功!";
}
else
{
echo "
登录失败!";
}
?>