first commit

This commit is contained in:
Erreur32 2021-02-06 13:40:40 +01:00
parent b762dfd4b2
commit 9a480da3de
22 changed files with 10 additions and 6 deletions

View file

@ -2,8 +2,8 @@
//ini_set('display_errors', 'on'); //ini_set('display_errors', 'on');
include_once('SQL/consql.php'); include_once('config/config.php');
include_once('SQL/config.php'); include_once('config/consql.php');
// MYSQL table // MYSQL table
// $StatServer = "StatServer_20"; // set in consql.php // $StatServer = "StatServer_20"; // set in consql.php

View file

@ -3,7 +3,7 @@ ini_set('display_errors', 1);
error_reporting(E_ALL); // Display all types of error error_reporting(E_ALL); // Display all types of error
//set_time_limit ( 4 ); // Max execution time is set to 4 seconds //set_time_limit ( 4 ); // Max execution time is set to 4 seconds
include_once('../config.php'); include_once('config.php');
// print json server // print json server
echo "<pre>"; echo "<pre>";

View file

@ -7,8 +7,9 @@ $sec = "300";
//ini_set('display_errors', 'on'); //ini_set('display_errors', 'on');
//error_reporting(E_ALL); // Display all types of error //error_reporting(E_ALL); // Display all types of error
include_once('SQL/consql.php');
include_once('SQL/config.php'); include_once('config/config.php');
include_once('config/consql.php');
?> ?>

View file

@ -4,7 +4,10 @@
// MAKE json // MAKE json
//header("Content-Type: application/json; charset=UTF-8; pageEncoding=UTF-8"); //header("Content-Type: application/json; charset=UTF-8; pageEncoding=UTF-8");
include_once('config.php');
include_once('config/config.php');
// include_once('config/consql.php');
/* /*
$out = array_values($Info); $out = array_values($Info);