";
return;
}
if( $LGD_MID == null || $LGD_MID == "" ) {
echo "[TX_PING error] ÆÄ¶ó¹ÌÅÍ ´©¶ô
";
return;
}
require_once("./XPayClient.php");
$xpay = &new XPayClient($configPath, $CST_PLATFORM);
$xpay->Init_TX($LGD_MID);
$xpay->Set("LGD_TXNAME", "Ping");
$xpay->Set("LGD_RESULTCNT", "3");
if ($xpay->TX()) {
echo "response code = " . $xpay->Response_Code() . "
";
echo "response msg = " . $xpay->Response_Msg() . "
";
echo "response count = " . $xpay->Response_Count() . "
";
$keys = $xpay->Response_Names();
for ($i = 0; $i < $xpay->Response_Count(); $i++) {
echo "count = " . $i . "
";
foreach($keys as $name) {
echo $name . " = " . $xpay->Response($name, $i) . "
";
}
}
}
else {
echo "[TX_PING error]
";
echo "response code = " . $xpay->Response_Code() . "
";
echo "response msg = " . $xpay->Response_Msg() . "
"; }