Heim > Artikel > Backend-Entwicklung > 如何能显示admin.php页的内容
怎么能显示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 "";
}
}
include ("head.php");
if($_COOKIE['cookie']!='ok'){
?>