<html>
<body>
<?php
require_once '/var/www/jsonrpcphp/includes/jsonRPCClient.php';
$dogecoind = new jsonRPCClient('http://dogecoinrpc:password@127.0.0.1:8832/');
if (isset($_POST['submit']))
{
$address = $_POST['address'];
}
echo '<p>';
$cusaddress = $dogecoind->getnewaddress();
echo $cusaddress . " CURRENTLY NOT WORKING -- this is your PERSONAL deposit address";
echo "<p> Try a small amount of doge initially to ensure everything is setup correctly </p>";
echo "<p>It works by generating a number between 0 and 65535, if it's lower than 32767 you win 1.98x payout on your initial investment!";
echo "<p>If you lose, you will be sent 0.01 as confirmation of your loss.";
echo '</p>';
echo "<p> It shouldn't take longer than 5 minutes to get a reply </p>";
$towritecsv =array($cusaddress, $address);
$line = "\"" . $towritecsv[0] . "\"" . "," . "\"" . $towritecsv[1] . "\"" . "\n";
$f = fopen("addresses.csv", "a" );
fwrite ( $f, $line);
fclose($f);
?>
</body>
以下是我所知道的不做的事情: 它正在处理这条线
$cusaddress = $dogecoind->getnewaddress();
它被卡住的地方并没有回应它下面的任何东西。
我刚刚将代码从vm移到专用机器上,当它停止工作时我没有想法。
谢谢