if($_SESSION['id']&&$_SESSION['pass'])
{
echo "登录成功!<br/>用户ID:".$_SESSION['id']."<br />用户密码:".$_SESSION['pass'];
echo "<br />";
echo "<a href='https://www.jb51.net/login.php?out=out'>注销session</a>";
}
?>
<form action="login.php" method="post">
用户ID:
<input type="text" /><br/><br/>
密码:
<input type="password" /><br/><br />
<input type="submit">
</form>
您可能感兴趣的文章: