Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/career.outerorbittech.com/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: database.php

Path: /home2/outerorb/career.outerorbittech.com/database.php

Size: 572 B

Permissions: 0644

<?php

$server="localhost"; 

$user="outerorb_career"; // same for all 

$password="Passw0rd@321"; // mysql password 



// function to connect to mysql 

$cn=mysqli_connect($server,$user,$password);

if($cn)

{

	$q="create database application";

	// function to run sql query 

	$sq=mysqli_query($cn,$q);

	if($sq)

	{

		echo 'created';

	}

	else 

	{

		// function to show sql query error 

		echo'<br>'.mysqli_error($cn);

	}

}

else 

{

	// function to check connection error 

	echo '<br>'.mysqli_connect_error();

	echo '<br>'.mysqli_connect_errno();

}



?>

← Back to Directory Edit File 🔒 Chmod

WP File Manager