include("./jsonRPCClient.php");
$xco = new jsonRPCClient('http://Username:Password@127.0.0.1:xocrpcport');
$account = 'xocarray';
$amount = floatval('100');
$addressfile = "./xocusers.txt";
$recipients = array();
$filelines = file($addressfile);
foreach($filelines as $fileline => $address) {
$recipients[$address] = $amount;
}
$Transaction_ID = $bitcoin->sendmany($account,$recipients);
echo 'The Transaction ID is: '.$Transaction_ID;
Only 2 users on IRC.
500 XOC each will be sent for their time.