<?php

//cmms_ceb
// $_serverName = "ESSB01-DESKTOP\SQLDEV2017";
// $_database = "cmms_ceb";

//cmms_standard
 //$_serverName = "SEKHARANDROID\SQL2019DEV";
 //$_database = "cmms_sunway_1011";

//SKSMC
$_serverName = "ESSB01-DESKTOP\SQLEXP2019";
$_database = "cmms_standard_11.1";

// $_serverName = "ESSB01-DESKTOP\SQLDEV2022";
// $_database = "cmms_srikota";

$ad_authentication = false;

$checklist_temp_path = "\\\\localhost\\www\\mobile_dev\\mobile_checklist_temp";

$directory = "C:\\wamp64\\www\\mobile_dev\\9.2";//for sp_send_email use

$DB_username ="admin";
$DB_password= "Admin";

$connectionInfo = array( "Database"=>$_database, "UID"=>$DB_username, "PWD"=>$DB_password,"CharacterSet" => "UTF-8","TrustServerCertificate"=>true);
$conn = sqlsrv_connect($_serverName, $connectionInfo);
$syn_conn = sqlsrv_connect($_serverName, $connectionInfo);

if( $conn ) {
    // echo "Connection established.<br />";
}else{
    // echo "Connection could not be established.<br />";
    // die( print_r( sqlsrv_errors(), true));
}


?>