This commit is contained in:
e025532
2024-11-26 09:37:10 +01:00
parent d339cb10d8
commit d1f7f5f313
11 changed files with 320 additions and 117 deletions

View File

@@ -82,6 +82,26 @@ function Invoke_WebInfraTools($request)
}
}
// MySQL web-infra-tools sur DUN-SUP-S2ENTRY
function Invoke_WebInfraReports($request)
{
$user = "admin";
$pwd = "Arth3m1s&*0";
$server = "dun-sup-s2entry.armony.net:3306";
$database = "web-infra-reports";
$conn = new mysqli($server, $user, $pwd, $database);
if (!($conn)) {
echo "Pas de connexion";
}
$rs = $conn->query($request);
while ($row = mysqli_fetch_array($rs)) {
$answer[] = $row;
}
if (isset($answer)) {
return $answer;
}
}
//INFRA sur DUN-PRD-R1MSSQL\PRD
function Invoke_Infra($request)
{