Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • sucssite/gameauth
  • ripp_/gameauth
2 results
Show changes
Commits on Source (2)
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
array_pop($s); array_pop($s);
$username = implode("@",$s); $username = implode("@",$s);
} }
$username = strtolower(); $username = strtolower($username);
$authResult = authCheck($authd,$username); $authResult = authCheck($authd,$username);
//If they gave a good login //If they gave a good login
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
$cip = $_SERVER['REMOTE_ADDR']; $cip = $_SERVER['REMOTE_ADDR'];
$time = time(); $time = time();
sqlite3Exec("DELET FROM gamers WHERE username='$username'"); sqlite3Exec("DELET FROM gamers WHERE username='$username'");
sqlite3Exec("INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('$authdUser','$sessionid','$cip','$authd','$time')"); sqlite3Exec("INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('$username','$sessionid','$cip','$authd','$time')");
} }
//Return the authResult //Return the authResult
......