I know this is the
BTC section but their is not similar for altcoin and as everything is derived from
BTC I presume the answer would be the same so here I am

I am trying to display information from my vps wallet onto my php webpage, I have spent 2 days googling but to no avail, perhaps some one here could laugh at my code and correct it - or - suggest a better way to achieve what I am looking for.
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://xxxxxxxx:xxxxxxxxxxxxxxxxxxxxxx@176.31.183.107:27772/');
echo "<pre>\n";
print_r($bitcoin->getbalance());
echo "</pre>";
Many thanks