| Server IP : 104.21.37.246 / Your IP : 172.71.28.145 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/ilawasia.onnud20.com/TimeSheet/ |
Upload File : |
<?php
$ck='not';
include("../include/checkLogin.php");
include("../include/class.php");
include("../include/table_name.php");
$date_year = date("Y");
$date_month = date("m");
$q= $_REQUEST['Keyword'];
switch($_SERVER["REQUEST_METHOD"]) {
case "POST":
$year = $_POST['year'];
$month= $_POST['month'];
$result = $timesheet_db->Index($_SESSION['UserInfo'][0]['UserId'],$year,$month);
break;
}
//echo json_encode($arrayName, JSON_UNESCAPED_UNICODE );
header("Content-Type: application/json");
echo json_encode($result, JSON_UNESCAPED_UNICODE );
//echo $year;
?>