$p? ?? ?? $w? ?? ??? if ??? ? ?????
??? ???——
<?php
$p=$_GET['pw' ];
$a= file('data.php');
$w=$a[9];//data.php
if($p == $w)? 10?? ? ??? ?????. {
echo "???? ?? ?????" ;
}else{
$url = "403.html";
echo "<script ??='javascript' type='text/javascript'>";
echo "window.location.href= '$url'";
echo "</script>";
}
?>
?? data.php——
<?php
//url? ?? ? ??? ???? ?? ???? ????
$url = "403.html";
echo "<script ??='javascript' type='text/javascript'>";
echo "window .location.href='$url'";
echo "</script>";
//? ??? ???? ??? ???? ?????
die("? ???? ???? ????");//?? ??
?>
6117