Untitled


SUBMITTED BY: Guest

DATE: Jan. 16, 2013, 9:08 p.m.

FORMAT: Text only

SIZE: 1.4 kB

HITS: 1145

  1. $result=$bitcoin->validateaddress($address);
  2. if($result['isvalid']==1){
  3. error_log(time()."UNLOCKING WALLET: $WALLETPASS", 0);
  4. $bitcoin->walletpassphrase($WALLETPASS,30);
  5. $temp=array();
  6. $temp[$address]=$btcpending;
  7. print_r($temp);
  8. error_log(time()."bitcoin address:>$address to send:".number_format($btcpending,8), 0);
  9. $txid=$bitcoin->sendmany("webclick",$temp,1,"action_id:".$actionid);
  10. error_log(time()."bitcoin address:>$address to send:".number_format($btcpending,8)."txid:".$txid, 0);
  11. will output
  12. [Wed Jan 16 20:42:13 2013] [error] [client 127.0.0.1] 1358368933UNLOCKING WALLET: XXXXXXXXXXXXXXX, referer: http://localhost.com/
  13. [Wed Jan 16 20:42:13 2013] [error] [client 127.0.0.1] 1358368933bitcoin address:>1DQNJWxVsbiVwTbxVwHXqnN5gfjs8VK2Kk to send:0.01007757, referer: http://localhost.com/
  14. [Wed Jan 16 20:42:13 2013] [error] [client 127.0.0.1] PHP Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error\r\n in /var/www/html/include/jsonRPCClient.php on line 132, referer: http://localhost.com/
  15. [

comments powered by Disqus