CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/web_portal_staff/od_request/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/web_portal_staff/od_request/add_od_request.php

<?php

	session_start();

	include '../../../../web/connection/connection.php';
	
	//od request variables
	$employee_id = $_REQUEST['employee_id'];
	$application_date = $_REQUEST['application_date'];
	$from_date = $_REQUEST['from_date'];
	$oddays = $_REQUEST['oddays'];
	$to_date = $_REQUEST['to_date'];
	$duty_details = $_REQUEST['duty_details'];
	$odrequest_status = $_REQUEST['odrequest_status'];
	$approve_status = $_REQUEST['approve_status'];
	$created_on = date("Y-m-d");
	$created_by = $_SESSION['USER_ID'];;
	$is_active = 'yes';
	
	//inserting data into od request table
	$db_handle = new DBController();
	
	$newInsert = $db_handle->tableinsert("INSERT INTO od_request(employee_id,application_date,from_date,oddays,to_date,duty_details,odrequest_status,
	                                     approve_status,created_on,created_by,is_active) 
		VALUES ('$employee_id','$application_date','$from_date','$oddays','$to_date','$duty_details','$odrequest_status',
		        '$approve_status','$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