4 <meta charset
="Shift_JIS">
8 include('../encrypt.php');
12 if (isset($g['m']) && !empty($g['m']) && !empty($g['p'])) {
13 $email = filter_var($g['m'], FILTER_SANITIZE_EMAIL
);
14 if (!filter_var($email, FILTER_VALIDATE_EMAIL
)) {
17 $pass = filter_var($g['p'], FILTER_SANITIZE_STRING
);
18 $email = strip_tags(addslashes($email));
19 $pass = strip_tags(addslashes($pass));
21 $fdir = substr($email, 0, 1);
22 $sdir = substr($email, 1, 1);
23 $data = @file
(DB_PATH
."$fdir/$sdir/$email");
26 for ($i=0; $i < count($data); $i++
) {
27 $data[$i] = trim($data[$i]);
29 $inputpass = md5($pass."kahitanupo");
30 if ($inputpass != $data[2]) {
31 $inputpass = hash("sha256", $pass."kahitanupo");
32 if ($inputpass != $data[2]) {
35 //echo "Invalid Password";
38 foreach($_COOKIE as $ky => $vl){
39 setcookie($ky,"",time()-3600);
42 $DMDM = Encrypt($email,KEY
);
43 $MDMD = Encrypt($pass,KEY
);
44 if($_SERVER['SERVER_NAME'] == "be.2ch.net") {
45 setcookie('DMDM',$DMDM,0,'/',".2ch.net"); //
46 setcookie('MDMD',$MDMD,0,'/',".2ch.net"); //
47 } elseif ($_SERVER['SERVER_NAME'] == "be.bbspink.com") {
48 setcookie('DMDM',$DMDM,0,'/',".bbspink.com"); //
49 setcookie('MDMD',$MDMD,0,'/',".bbspink.com"); //
52 echo "–³Œø‚ȃpƒXƒ��[ƒh";
55 echo "ƒ†�[ƒU�[‚Í‘¶�Ý‚µ‚Ü‚¹‚ñ";
58 echo "‚±‚±‚ÅŒ©‚é‚à‚͉̂½‚à‚È‚¢";