$result=$bitcoin->validateaddress($address); if($result['isvalid']==1){ error_log(time()."UNLOCKING WALLET: $WALLETPASS", 0); $bitcoin->walletpassphrase($WALLETPASS,30); $temp=array(); $temp[$address]=$btcpending; print_r($temp); error_log(time()."bitcoin address:>$address to send:".number_format($btcpending,8), 0); $txid=$bitcoin->sendmany("webclick",$temp,1,"action_id:".$actionid); error_log(time()."bitcoin address:>$address to send:".number_format($btcpending,8)."txid:".$txid, 0);