Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $getinfo = shell_exec('./zetacoind getinfo');
- echo "<pre>$getinfo[0]->balance</pre>";
- if ($getinfo[0]->balance>="20")
- {
- echo "shell_exec('./zetacoind sendtoaddress blahblahblah')";
- echo "Coins have been sent!";
- }
- else
- {
- echo "Balance too low.";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement