CasperSecurity

Current Path : /var/www/acasv2.uiet.co.in/v.2.0/api/request/Finance/bank/
Upload File :
Current File : /var/www/acasv2.uiet.co.in/v.2.0/api/request/Finance/bank/add__new_bank.php

<?php

	session_start();

	include '../../../../web/connection/connection.php';
	
	// bank variables
	$organisation_unit_id = $_REQUEST['organisation_unit_id'];
	$bank_book_code = $_REQUEST['bank_book_code'];
	$bank_account_no = $_REQUEST['bank_account_no'];
	$bank_name = $_REQUEST['bank_name'];
	$branch_name = $_REQUEST['branch_name'];
	$bank_address = $_REQUEST['bank_address'];
	$bank_tel_no = $_REQUEST['bank_tel_no'];
	$bank_fax_no = $_REQUEST['bank_fax_no'];
	$pan_no = $_REQUEST['pan_no'];
	$ifsc_code = $_REQUEST['ifsc_code'];
	$micr_code = $_REQUEST['micr_code'];
	$contact_person_name = $_REQUEST['contact_person_name'];
	$contact_person_tel = $_REQUEST['contact_person_tel'];
	$contact_person_mobile = $_REQUEST['contact_person_mobile'];
	$ledger_head_id = $_REQUEST['ledger_head_id'];
	$created_on = date("Y-m-d");
	$created_by = $_SESSION['USER_ID'];
	$is_active = 'yes';
	
	//inserting data into bank table
	$db_handle = new DBController();
	
	$newInsert = $db_handle->tableinsert("INSERT INTO bank(organisation_unit_id,bank_book_code,bank_account_no,bank_name,branch_name,bank_address,bank_tel_no,
	                                     bank_fax_no,pan_no,ifsc_code,micr_code,contact_person_name,contact_person_tel,contact_person_mobile,ledger_head_id,created_on,created_by,is_active) 
		VALUES ('$organisation_unit_id','$bank_book_code','$bank_account_no','$bank_name','$branch_name','$bank_address','$bank_tel_no','$bank_fax_no','$pan_no','$ifsc_code','$micr_code',
		        '$contact_person_name','$contact_person_tel','$contact_person_mobile','$ledger_head_id','$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