I've got two different PHP scripts (listed below) accessing Bitcoind via jsonRPC and neither one is working properly. And the command line reports are acting weird too.
I have both Bitcoind and Bitcoin-QT installed. I made a spend to one of its wallets and at Blockchain it reported 37 confirmations. I got the transaction id from the cl using bitcoind listtransactions but it reported NO confirmations there. Then, when I repeated the command a couple minutes later from the cl there was no longer any mention of the transaction.
The two php scripts never have shown the transaction at all.
One simple script -
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://user:password@127.0.0.1:8332/');
echo "<pre>\n";
print_r($bitcoin->getinfo()); echo "\n";
echo "Received: ".$bitcoin->getreceivedbylabel("Your Address")."\n";
echo "</pre>";
While the second is a more elaborate class from
http://www.phpclasses.org/package/6739-PHP-Manage-Bitcoin-virtual-currency-accounts.html. I've tried from both the test_bitcoin.php page and the test_bitcoin_rpc.php page. Apart from not reporting the proper balance everything appears ok in them.
So, in summary, the php pages don't report the proper balance (the script doesn't report confirmations) and the command line reports the proper balance but not the correct confirmations and then disappears altogether.
Any help will be greatly appreciated.