CasperSecurity

Current Path : /var/www/mvc360.ucnms.co.in/v.2.0/api/request/academic/subject/
Upload File :
Current File : /var/www/mvc360.ucnms.co.in/v.2.0/api/request/academic/subject/edit_subject.php

<?php

	session_start();
	
	include '../../../../web/connection/connection.php';
	
	$subject_id = $_REQUEST['subject_id'];
	$subject_code = $_REQUEST['subject_code'];
	$subject_name = $_REQUEST['subject_name'];
	$syllabusid = $_REQUEST['syllabusid'];
	$syllabus_year = $_REQUEST['syllabus_year'];
	$modified_on = date('Y-m-d');
	$modified_by = $_REQUEST ['modified_by'];
	$is_active = $_REQUEST['is_active'];
	

	$db_handle = new DBController();
	
	$newUpdate = $db_handle->runMyUpdate("UPDATE subject SET subject_id = '$subject_id',subject_code ='$subject_code',subject_name ='$subject_name',syllabusid='$syllabusid',syllabus_year='$syllabus_year',
	created_on ='$created_on',created_by='$created_by',modified_on='$modified_on',modified_on='$modified_on',is_active='$is_active' WHERE subject_id = '$host'");
	
	 if($newUpdate == TRUE){
	  
	  echo 'Data updated Successfully';
	  
	}else{
	  
	  echo 'Not updated' ;
	  
	}

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