| Server IP : 172.67.216.113 / Your IP : 104.23.243.33 [ 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/taladonnuch.com/talad/payment/ |
Upload File : |
<?php
require_once("../include/class.php");
include('../include/connect.php');
date_default_timezone_set("Asia/Bangkok");
$date = date("Y-m-d");
$date2 = date("Y-m-d H:i:s");
$ref1 = @$_GET['ref1'];
$ref2 = @$_GET['ref2'];
$strSQL3 = "SELECT * FROM `payment` WHERE `BillPayment_Reference1` = '".@$ref1."' AND `BillPayment_Reference2` = '".@$ref2."'";
$objQuery3 = mysqli_query($objCon,$strSQL3);
$objResult3 = mysqli_fetch_array($objQuery3);
//echo $objResult3['ResponseCode'];
$data = array('TransactionID' => $objResult3['TransactionID'] ,'ResponseCode' => $objResult3['ResponseCode']);
echo json_encode($data);
?>