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.216.167.229


Current Path : /var/www/html/studentportal_wait/src_old/
Upload File :
Current File : /var/www/html/studentportal_wait/src_old/database.php

<?php
	session_start();
	if(isset($_SESSION['DBUSER']) && $_SESSION['DBNAME'])
	{
		$servername = "97.74.228.93";
		$username   = "logisys3_logu";
		$password  = "Logisys@2106";
		$databse = $_SESSION['DBNAME'];
		// $servername = "192.168.0.32";
		// $username   = 'admin';
		// $password  = "admin";
		// $servername = "localhost";
		// $username   = "root";
		// $password  = "";
		// $databse = $_SESSION['DBNAME'];
		// var_dump($databse);
		$conn = new  mysqli($servername,$username,$password,$databse);
		if(!$conn) 
		{
	    die("Connection failed: " . mysqli_connect_error());
		}
	}
?>