CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/dimension_api/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/dimension_api/dimension_insert_api.php

 <?php
session_start();
include '../../../web/connection/connectionv2.php';	


$dimension = $_REQUEST['dimension'];
$userId = $_SESSION['USER_ID'];
$date = date("Y-m-d");
$active = 'yes';


if(!empty($dimension)){

	$db_handle = new DBController();
	$newInsert = $db_handle->tableinsert("INSERT INTO canteen_dimensions(dimension,created_on,created_by,is_active) 
	VALUES ('$dimension','$date','$userId','$active')");

	

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