时间:2021-07-01 10:21:17 帮助过:33人阅读
include("Sql.php");PHP 菜鸟写的代码 分享到:
if ($_GET[out])
{
setcookie("cookie","out");
echo "";
}
if ($_POST[id]=='xxx')
{
$pw=md5($_POST[pw]);
if($pw=='e1bfd762321e409cee4ac0b6e841963c')
{
setcookie("cookie","ok");
echo "";
}
}
include("Head.php");
if ($_COOKIE['cookie']!='ok'){
?>
}else{
?>
退出
}
?>