|
@@ -5,10 +5,10 @@
|
|
// Adjust the names here and those in your MySQL server.
|
|
// Adjust the names here and those in your MySQL server.
|
|
//
|
|
//
|
|
// The following files make reference to the table fields (must use the same names "line_id, line_name, ...")
|
|
// The following files make reference to the table fields (must use the same names "line_id, line_name, ...")
|
|
-// @see js/globals.js
|
|
|
|
-// @see js/circleOne.js
|
|
|
|
-// @see js/squareOne.js
|
|
|
|
-// @see js/squareTwo.js
|
|
|
|
|
|
+// @see js/globals/globals_functions.js
|
|
|
|
+// @see js/games/circleOne.js
|
|
|
|
+// @see js/games/squareOne.js
|
|
|
|
+// @see js/games/squareTwo.js
|
|
|
|
|
|
// Change these values according to your database settings
|
|
// Change these values according to your database settings
|
|
$servername = "localhost"; // INSERT MySQL server (e.g "line.ime.usp.br")
|
|
$servername = "localhost"; // INSERT MySQL server (e.g "line.ime.usp.br")
|
|
@@ -49,8 +49,8 @@ if ($conn->connect_error) {
|
|
|
|
|
|
$ip = clientIP();
|
|
$ip = clientIP();
|
|
|
|
|
|
-// /js/globals.js: data = line_ip=120.0.0.1&line_name=name&line_lang=pt_BR
|
|
|
|
-// /js/squareOne.js: data += &line_game=Square&line_mode=a&line_oper=Plus&line_leve=1&line_posi=1&line_resu=true&line_time=3&line_deta=numBlocks:3, valBlocks: 1,1,1, blockIndex: 2, floorIndex: 2;url=php/save.php
|
|
|
|
|
|
+// /js/globals/globals_functions.js: data = line_ip=120.0.0.1&line_name=name&line_lang=pt_BR
|
|
|
|
+// /js/games/squareOne.js: data += &line_game=square&line_mode=a&line_oper=plus&line_leve=1&line_posi=1&line_resu=true&line_time=3&line_deta=numBlocks:3, valBlocks: 1,1,1, blockIndex: 2, floorIndex: 2;url=php/save.php
|
|
$name = $_REQUEST["line_name"];
|
|
$name = $_REQUEST["line_name"];
|
|
$date = date("Y-m-d H:i:s");
|
|
$date = date("Y-m-d H:i:s");
|
|
$lang = $_REQUEST["line_lang"];
|
|
$lang = $_REQUEST["line_lang"];
|