graphonline/cgi-bin/addDonate.php
2020-07-03 23:24:10 +03:00

17 lines
339 B
PHP
Executable File

<?php
include ("../core/config/main.php");
//if ("RdukIxdb0Lxc+uNhgfFXb7ll" == $_POST["notification_secret"])
{
$file = fopen("../" . $g_config['donateTransactions'], "a");
if ($file)
{
fprintf($file, "%d\n", $_POST["amount"]);
fclose($file);
}
}
?>