· 7 years ago · Nov 27, 2018, 06:28 PM
1$secret_key = '';
2
3$sha1 = sha1( $_POST['notification_type'] . '&'. $_POST['operation_id']. '&' . $_POST['amount'] . '&643&' . $_POST['datetime'] . '&'. $_POST['sender'] . '&' . $_POST['codepro'] . '&' . $secret_key. '&' . $_POST['label'] );
4
5if ($sha1 == $_POST['sha1_hash'] ) {
6
7 $sum = intval($_POST['withdraw_amount']);
8
9 $realsum = $db_con->real_escape_string($_POST['amount']);
10
11 $wallet = intval($_POST['sender']);
12
13}