怎么能显示admin.php页的内容
error_reporting(E_ALL & ~E_NOTICE);
include("conn.php");
if(isset($_GET[out ]) && $_GET[out])
{
setcookie("cookie","out");
echo "";
}
if(isset($_POST['id'])&&$_POST[id]=='admin')
{
$pw= md5($_POST[pw]);
if($pw=='827ccb0eea8a706c4c34a16891f84e7b'){
setcookie("cookie","ok");
echo "<脚本语言="javascript" >location.href='login.php';";
}
}
include ("head.php");
if($_COOKIE[ 'cookie']!='ok'){
?>
function Checklogin()
{
if(myform.id.value== "")
{
alert("请填写用户名");
myform.id.focus();
return false;
}
if(myform.pw. value=="")
{
alert("请填写密码");
myform.pw.focus();
return false;
}
}