i want to build a bitcoin third party server for my client.
but problem is that when i execute "bitcoin-cli" command using php then it didn't give any result.
i used JSONRPCClient. but i didn't find any solution and how to use it can't understand.
here i have to give "user:email@example.com:8338" . is this my pc user and password???
do i need bitcoin authentication for this? or give me some suggestion to make it live.
This script doesn't produce any output:
require_once 'jsonRPCClient.php'; $bitcoin = new jsonRPCClient('http://bitcoinrpc:HGySbCZrdHq5BDQH3iwzb3oGZCJX8AfWe2EBQrNg9EvJ@127.0.0.1:8332/'); echo "<pre>"; print_r($bitcoin); echo "<pre>\n fgfgf"; print_r($bitcoin->getinfo()); echo "</pre>";