I'm taking a look the following post
http://forum.bitcoin.org/index.php?topic=9304.0Can you explain the following variables
$rpcUser = "username";
$rpcPass = "password";
$url = "http://localhost:8332";
Do you set this up to access an online BitCoin Client? Existing at what ever url you choose?
Close, but no. You have to have a bitcoind instance running. Go to bitcoin.org, and download the client for whatever OS you are using. Inside one of the subfolders, you'll find bitcoind. In the same folder as bitcoind, you need to create a file called bitcoin.conf, and in it place:
rpcuser=user
rpcpassword=password
Also, to allow external access via PHP, you'll have to add the IP address of the PHP server (wildcard * allowed). If bitcoind is running on your PHP server, you shouldn't have to do anything (as 127.0.0.1 is allowed by default).
rpcallowip=1.1.1.1
Then, in your PHP file, change "username" and "password" to whatever un/pw you wrote in the .conf. Leave $url alone if bitcoind is running on your PHP server, or change the localhost to your external bitcoind IP. Start up bitcoind, then you should be able to connect to it via PHP.