0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.189.194.225


Current Path : /var/www/html/univadmin/
Upload File :
Current File : /var/www/html/univadmin/DbConnect.php

<?php 
	/**
	* Database Connection
	*/

	include("/var/www/config.php");
	$servername = SERVERNAME;
	$username   = USERNAME;
	$password  = PASSWORD;


	// $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com";
	// $username   = "admin";
	// $password  = "T0g3th3r@all";
	$databse = "logisys3_comexam";
	//session_start();
	/*$servername = "localhost";
	$username   = 'root';
	$password  = "1234";
	$databse = 'logisys3_comexam';*/
	$conn = new  mysqli($servername,$username,$password,$databse);
	if(!$conn) 
	{
        die("Connection failed: " . mysqli_connect_error());
	}
	
 ?>