CasperSecurity

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

<?php

	session_start();

	include '../../../../web/connection/connection.php';
	
	//canteen supervisor variables
	$canteen_id = $_REQUEST['canteen_id'];
	$employee_id = $_REQUEST['employee_id'];
	$staff_type = $_REQUEST['staff_type'];
	$effective_from = $_REQUEST['effective_from'];
	$end_date = $_REQUEST['end_date'];
	$supervisor_name = $_REQUEST['supervisor_name'];
	$supervisor_mobile = $_REQUEST['supervisor_mobile'];
	$supervisor_address = $_REQUEST['supervisor_address'];
	$created_on = date("Y-m-d");
	$created_by = $_SESSION['USER_ID'];
	$is_active = 'yes';
	
	//inserting data into canteen supervisor table
	$db_handle = new DBController();
	$newInsert = $db_handle->tableinsert("INSERT INTO canteen_supervisor (canteen_id,employee_id,staff_type,effective_from,end_date,supervisor_name,supervisor_mobile,supervisor_address,created_on,created_by,is_active) 
		VALUES ('$canteen_id','$employee_id','$staff_type','$effective_from','$end_date','$supervisor_name','$supervisor_mobile','$supervisor_address','$created_on','$created_by','$is_active')");
	
	
	 if($newInsert == TRUE){
	  
	  echo 'Data Inserted Successfully';
	  
	}else{
	  
	  echo 'Not Inserted' ;
	  
	}

?>
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