CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/library/dd_classification/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/library/dd_classification/ddc_section_edit_api.php

<?php

	session_start();
	
	include '../../../../web/connection/connection.php';
	
	$connection = new createConnection();
	$connection->connect();
	
	 $ddc_section_id = $_POST['ddc_division_id'];
	 $ddc_section_desc = $_REQUEST['ddc_section_desc'];
	
	$date = date('Y-m-d');
	$userId = $_SESSION['userId'];
	
	
	
	$updates = "UPDATE ddc_section SET ddc_section_description='$ddc_section_desc',modified_on='$date',modified_by='".(int)$userId."' WHERE ddc_division_id='$ddc_division_id'";

	if(mysqli_query($connection->myconn,$updates) === TRUE )
	
		    {
		$_SESSION['ERROR_MSG'] = "Success";
		$_SESSION['MSG_ALRT'] = "TRUE";
		header('location: ddc_mainclass.php');
		
	
	}	
     else
	 {
		$_SESSION['ERROR_MSG'] = "Unsuccess";
		$_SESSION['MSG_ALRT'] = "FALSE";
	header('location: ddc_mainclass.php');
	 }
?>
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