3 include('encrypt.php');
5 if (isset($_GET['d']) && isset($_GET['m']) && isset($_GET['r'])) {
6 #$d = urlencode(trim($_GET['d']));
7 #$m = urlencode(trim($_GET['m']));
8 #$r = urlencode(trim($_GET['r']));
10 $m = trim($_GET['m']);
11 $r = trim($_GET['r']);
13 $d = filter_var($d, FILTER_SANITIZE_EMAIL
);
14 #if (!filter_var($d, FILTER_VALIDATE_EMAIL)) {
17 $m = filter_var($m, FILTER_SANITIZE_STRING
);
19 $d = strip_tags(addslashes($d));
20 $m = strip_tags(addslashes($m));
21 $r = strip_tags(addslashes($r));
30 #echo $_GET['d']."<br>";
31 #echo $_GET['m']."<br>";
32 #echo urlencode($_COOKIE["DMDM"])."<br>";
33 #echo urlencode($_COOKIE["MDMD"])."<br>";
34 #echo urldecode($_COOKIE["DMDM"])."<br>";
35 #echo urldecode($_COOKIE["MDMD"])."<br>";
39 #$d = Decrypt($_COOKIE["DMDM"], KEY);
40 #$m = Decrypt($_COOKIE["MDMD"], KEY);
45 $fdir = substr($d, 0, 1);
46 $sdir = substr($d, 1, 1);
47 $data = @file
(DB_PATH
."$fdir/$sdir/$d");
50 if(md5($m."kahitanupo")==trim($data[2])){
55 echo $data[3]." ".$data[0]." ".$ico;
59 if(hash("sha256", $m."kahitanupo")==trim($data[2])){
64 echo $data[3]." ".$data[0]." ".$ico;
67 //var_dump(urlencode($_COOKIE["DMDM"]));
69 echo "nothing to see here!";