I'm getting an error "Undefined variable: fromAccount."
What can I put in the variable fromAccount?
Runned in Linux with php. What does the script do exactly? Getting extra batches? Changes the stake amount? Thanks for posting btw!
yes sorry about that :-) here's the update
#!/usr/bin/php
[code]$clientPath = "/home/kalgecin/pennies/src/pennies";
$sendToAddress = "PC26wxsNJXKi6732uKTmvjkLMQMjZBPzJ3";
$amountPerBatch = 50000000.00;
$balance = `$clientPath getbalance`;
echo "Your balance: $balance\n";
while($balance > $amountPerBatch){
echo $balance.' '.`$clientPath sendtoaddress $sendToAddress $amountPerBatch`;
$balance -= $amountPerBatch;
}
[/code]
[/quote]
How to run the php code in windows?