<?php

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


$ad_authentication = false;

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

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

$DB_username ="sa";
$DB_password= "mgr";

$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));
}


?>