andre 4 years ago
parent
commit
086dc473df
1 changed files with 4 additions and 3 deletions
  1. 4 3
      index.php

+ 4 - 3
index.php

@@ -25,10 +25,11 @@ function set($ip,$db) {
     $dbAction->bind_param('i',$ip);
     return $dbAction->execute();
 }
-if (checkToken($token,$db)){
+
+//if (checkToken($token,$db)){
     if(set(ip2long($ip),$db)){
-        echo "inserted $ip" . PHP_EOL;
+        echo "$token inserted $ip" . PHP_EOL;
     } else {
         echo "fehler" . PHP_EOL;
     };
-};
+//};