CasperSecurity

Current Path : /var/www/devatraket.uiet.co.in/devatraket/v1.0/api/request/assets_lost_stolen/
Upload File :
Current File : /var/www/devatraket.uiet.co.in/devatraket/v1.0/api/request/assets_lost_stolen/update.php

<?php
 
session_start();


include '../../connection/connection.php';

 $amount = $_REQUEST['amount'];
 
 $asset_item_id = $_REQUEST['asset_item_id'];
 $date = $_REQUEST['written_off_date'];
 $action = $_REQUEST['action'];



if(!empty($asset_item_id)){
$db_handle=new DBController();
$upp=$db_handle->runMyUpdate("UPDATE  asset_item SET asset_item_status = 'Written Off',written_off_date = '$date',asset_writeoff_cost = '$amount' ,physical_verification_status	= '$action'
WHERE  asset_item_id = '$asset_item_id' ");
if($upp == TRUE){ 


			
			$_SESSION['ERROR_MSG'] = "Success";
		  $_SESSION['MSG_ALRT'] = "TRUE";
		 header('location:../../../web/home/modules/retire/Asset_lost_stolen/assetloststolengrid.php');
		}else{
			 $_SESSION['ERROR_MSG'] = "Unsuccess";
		  $_SESSION['MSG_ALRT'] = "FALSE";
		  header('location:../../../web/home/modules/retire/Asset_lost_stolen/assetloststolengrid.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