CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/canteen/canteen_menu/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/canteen/canteen_menu/edit_canteen_menu.php

<?php

	session_start();
	
	include '../../../../web/connection/connection.php';

	//canteen menu variables
	$canteen_menu_id = $_REQUEST['canteen_menu_id'];
	$is_active = $_REQUEST['is_active'];
	$modified_on = date("Y-m-d");
	$modified_by = $_SESSION['USER_ID'];

	//inserting updated data into canteen menu table
	$db_handle = new DBController();
	$newUpdate = $db_handle->runMyUpdate("UPDATE canteen_menu SET is_active = '$is_active' , modified_on = '$modified_on' , modified_by = '$modified_by'  WHERE canteen_menu_id = '$canteen_menu_id'");
	
	 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