CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/organisation_user/department/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/organisation_user/department/edit_department.php

<?php

	session_start();
	
	include '../../../../web/connection/connection.php';
	
	$department_id = $_REQUEST['department_id'];
	$department_name = $_REQUEST['department_name'];
	$department_short_name = $_REQUEST['department_short_name'];
	$modified_on = date('Y-m-d');
	$modified_by = $_REQUEST['modified_by'];
	$is_active = $_REQUEST['is_active'];
	

	$db_handle = new DBController();
	
	$newUpdate = $db_handle->runMyUpdate("UPDATE department SET department_id = '$department_id',department_name ='$department_name',department_short_name ='$department_short_name',
	modified_on='$modified_on',modified_by='$modified_by',is_active='$is_active' WHERE department_id = '$host'");
	
	 if($newUpdate == TRUE){
	  
	  echo 'Data updated Successfully';
	  
	}else{
	  
	  echo 'Not updated' ;
	  
	}

?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY