Author

Topic: bitcoind.exe + (easyphp) or (Server2Go) or (xampp) (Read 964 times)

full member
Activity: 241
Merit: 107
Hi,

Great, sometimes less info on a page mean a lot more!

The only thing I had to change was

Code:
print_r($bitcoin->getinfo());

instead of

Code:
echo $bitcoin->getinfo();

echo just returned a json array.

Thank you,

Hamburger
member
Activity: 70
Merit: 10
Hi,

Is there anyone who can give me step by step instructions on how to set up bitcoind.exe on an xp machine and spesifically how to use the bitcoin.conf file.

While https://en.bitcoin.it/wiki/Running_Bitcoin#Windows is helpful, I do not fully comprehend the information due to the language barrier.

When this is done, I would then like to access bitcoin using php running on either easyphp or Server2Go or xampp to verify send and received transaction and everything else that would be nice to know.

You are welcome to send me a pm.

Thank you,

Hamburger

Put bitcoind in a directory. Open up command prompt and navigate to the directory. Then type in 'bitcoind.exe -server'. Done.

Now you need to setup the bitcoin.conf to accept json api commands.

Code:
rpcuser=asdf
rpcpassword=asdf

#fill in this if connections aren't coming from localhost, this will make bitcoind listen to commands sent from that address
#rpcallowip=

I have no idea what easyphp or server2go is. They look like pre-configured lamp stacks to me. Now, download the json-rpc library and you can send a command to bitcoind like this:

Code:
require_once('the_library.php');
$bitcoin = new jsonRPCClient('http://asdf:[email protected]:8332');

//Same as bitcoind.exe getinfo
echo $bitcoin->getinfo();
full member
Activity: 241
Merit: 107
Hi,

Is there anyone who can give me step by step instructions on how to set up bitcoind.exe on an xp machine and spesifically how to use the bitcoin.conf file.

While https://en.bitcoin.it/wiki/Running_Bitcoin#Windows is helpful, I do not fully comprehend the information due to the language barrier.

When this is done, I would then like to access bitcoin using php running on either easyphp or Server2Go or xampp to verify send and received transaction and everything else that would be nice to know.

You are welcome to send me a pm.

Thank you,

Hamburger
Jump to: