Файл: test.otwap.aux.su/result.php
Строк: 13
<?php
require("lib/config.php");
require("lib/functions.php");
$control = $_POST[LMI_PAYEE_PURSE] . $_POST[LMI_PAYMENT_AMOUNT] . $_POST[LMI_PAYMENT_NO] . $_POST[LMI_MODE] . $_POST[LMI_SYS_INVS_NO] . $_POST[LMI_SYS_TRANS_NO] .
$_POST[LMI_SYS_TRANS_DATE] . "rfvfcenhf" . $_POST[LMI_PAYER_PURSE] . $_POST[LMI_PAYER_WM];
$md5control = md5 ($control);
if (strcasecmp ($md5control, $_POST[LMI_HASH]) == "0") {
if (insert("INSERT INTO `history_account` VALUES('','$_POST[user]','$_POST[LMI_PAYER_WM]','$_POST[LMI_PAYMENT_AMOUNT]','1',NOW())"))
updata("UPDATE `user` SET `balance` = `balance` + $_POST[LMI_PAYMENT_AMOUNT] WHERE `id` = '$_POST[user]'");
}
?>