【文件属性】:
文件名称:飘渺雪域 pay to game
文件大小:888B
文件格式:RAR
更新时间:2016-07-30 16:51:32
飘渺雪域 pay
飘渺雪域 pay to game
yuanbao;
$money = $yuanbao;
$payNum = rand(100000, 999999999);
$Mode = zy;
$payGold = $money;
$payTime = time();
$API_SECURITY_TICKET_PAY = "这里填写你的PayKey 要注意啊,自己必须改下 不然服很容易被人黑的。";
$ticket = md5($API_SECURITY_TICKET_PAY . $Mode . $payNum . $account . $money . $payGold . $payTime);
mysql_free_result($result);
if ( $yuanbao > 0 )
{
$url = "http://198.13.96.120:8091/charge?Mode=$Mode&PayNum=$payNum&PayToUser=$account&PayMoney=$money&PayGold=$payGold&PayTime=$payTime&ticket=$ticket";
$text=(string)file_get_contents( $url );
if ($text==="true"){
if (update_yuanbao($account, 0)){
log_pay($account, $roleid, $yuanbao);
echo '充值成功!返回首页';
}else{
echo '充值失败!返回首页';
}
}else{
echo '充值失败!返回首页';
}
}
else
{
echo "您账户内没有元宝!";
}
}else{
echo '您还未登录,请点击返回首页';
}
?>
【文件预览】:
pay_to_game.php