Initial commit
[2ch-be.git] / melon / iossecuref.php
blob1768b2ab1a3a2603f873d029fad93a1a90413d6e
1 <?php
2 // bmbaloran@gmail.com, 15000, bmbaloran@gmail.com-RQ1t3@mIOSBEmessenger
4 $uniq = "-RQ1t3@mIOSBEmessenger";
6 $breaker = (is_numeric($_POST['pts']) ? 1 : 0);
7 $username = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL);
9 $hash = filter_var($_POST['hash']);
11 if($username.$hash == $username.$uniq && $breaker){
13 $pointsToAdd = $_POST['pts'];
14 $animal = "lobster";
15 $return = system("php /home/auth/secure_html/melon/melon.php $username $pointsToAdd $animal");
16 if($return=="Success") {
17 echo 1;
18 } else {
19 echo 0;
22 }else{
23 echo 0;