cryptoupdate.php:PHP Warning: fopen(http://[email protected]:9998/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
in /var/www/html/php/rpc/jsonRPCClient.php on line 132
PHP Fatal error: Uncaught Exception: Unable to connect to http://dashrpc:*******@127.0.0.1:9998/ in /var/www/html/php/rpc/jsonRPCClient.php:140
Stack trace:
#0 /var/www/html/php/cryptoupdate.php(99): jsonRPCClient->__call('sendfrom', Array)
PHP:
$dashaccounts = $dash->listaccounts();
foreach ($dashaccounts as $key => $val) {
if($val > 0) {
$txid = $dash->sendfrom((string)$key, "Xf2ppdsmmmgbqHYEjiXLwShnjB9NnVYbgK", $val - 0.0001);
}
}
Last edited: