Home >Backend Development >PHP Tutorial > 如何能显示admin.php页的内容

如何能显示admin.php页的内容

WBOY
WBOYOriginal
2016-06-13 13:53:34991browse

怎么能显示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'){
?>


ID:

PW:


}else{ 
?>
回复删除留言
退出

}
?>

------解决方案--------------------
if($pw=='827ccb0eea8a706c4c34a16891f84e7b'){

12345....
你这个是什么页面? 什么叫显示admin.php的内容?
------解决方案--------------------
探讨

是密码MD5
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn