| Server IP : 172.67.187.206 / Your IP : 172.71.28.155 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/webadmin/ |
Upload File : |
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Send SMS late</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'];
$sms_boss = $_REQUEST['sms_boss'];
$tb_public_telboss = $_REQUEST['tb_public_telboss'];
echo $checkid = $_REQUEST['checkid'];
$text_sms = $_REQUEST['text_sms'];
$text_sms_end = $_REQUEST['text_sms_end'];
$tb_student_name = $_REQUEST['tb_student_name'];
$tb_student_phone = $_REQUEST['tb_student_phone'];
echo $count_rows = $_REQUEST['count_rows'];
$username = $_REQUEST['username'];
$password = $_REQUEST['password'];
$secret = $_REQUEST['secret'];
$sender = $_REQUEST['sender'];
$dest = $_REQUEST['dest'];
$msg = $_REQUEST['msg'];
for($rst = 0; $rst < $count_rows; $rst++){
$text_sms_i = $text_sms[$rst];
$text_sms_end_i = $text_sms_end[$rst];
$tb_student_name_i = $tb_student_name[$rst];
$tb_student_phone_i = $tb_student_phone[$rst];
}
// Send SMS To BOSS
if($result=="OK"){
echo "send success";
}else{
echo "error = $result";
}
?>
<script language="javascript">window.location.href = 'display_report_sms.php'</script>
</body>
</html>