Removed unused datasource definitions and redundant module references. Added default settings for code styles and inspection profiles. Adjusted indentation and formatting in HTML and PHP files for better readability and maintainability.
41 lines
1017 B
PHP
41 lines
1017 B
PHP
<?php
|
|
|
|
function DB_SCCM(){
|
|
$user = "infra";
|
|
$pwd = "infra";
|
|
global $conn ;
|
|
$conn = odbc_connect("Driver={SQL Server};Server=DUN-SMS-SRV01;Database=CM_SV1;", $user, $pwd);
|
|
if(!($conn)){echo "Pas de connexion";}
|
|
}
|
|
|
|
function DB_GLPI() {
|
|
$username="glpi_lect_seule";
|
|
$password="glpi_lect_seule";
|
|
$dbserver="mys_glpi_prod.appliarmony.net";
|
|
$database="glpi";
|
|
global $conn ;
|
|
$conn = new mysqli($dbserver,$username,$password,$database);
|
|
}
|
|
|
|
function DB_ENTRY01() {
|
|
$username="infra";
|
|
$password="infra";
|
|
$dbserver="dun-sup-entry01.armony.net";
|
|
$database="infra";
|
|
global $conn ;
|
|
$conn = new mysqli($dbserver,$username,$password,$database);
|
|
}
|
|
|
|
function DB_ENTRY02() {
|
|
$username="admin";
|
|
$password="Arth3m1s&*0";
|
|
$dbserver="dun-sup-s2entry.armony.net";
|
|
$database="web-infra-reports";
|
|
global $conn ;
|
|
$conn = new mysqli($dbserver,$username,$password,$database);
|
|
}
|
|
|
|
|
|
|
|
|
|
|