CasperSecurity

Current Path : /var/www/mvc360.ucnms.co.in/v.2.0/api/request/library/dd_classification/
Upload File :
Current File : /var/www/mvc360.ucnms.co.in/v.2.0/api/request/library/dd_classification/ddc_division_edit_api.php

<?php

	session_start();
	
	include '../../../../web/connection/connection.php';
	
	$connection = new createConnection();
	$connection->connect();
	
	 $ddc_division_id = $_POST['ddc_division_id'];
	 $ddc_division_desc = $_REQUEST['ddc_division_desc'];
	
	$date = date('Y-m-d');
	$userId = $_SESSION['userId'];
	
	
	
	$updates = "UPDATE ddc_division SET ddc_division_description='$ddc_division_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