user26456: 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:password@127.0.0.1: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>";


user26456: firstly Setup bitcoin Core API server on your pc.
then install Php-curl for your Apache server.
then Follow Link: en.bitcoin.it/wiki/PHP_developer_intro
put api command as function name and if have any Parameters then put in function parameter. i hope it will work.give you result as json format.
Must On your Display Error in php.ini 

26456: <p>i want to build a bitcoin third party server for my client.</p>

<p>but problem is that when i execute "bitcoin-cli" command using php then it didn't give any result.</p>

<p>i used JSONRPCClient. but i didn't find any solution and how to use it can't understand.</p>

<p>here i have to give "user:password@127.0.0.1:8338" . is this my pc user and password??? </p>

<p>do i need bitcoin authentication for this? or give me some suggestion to make it live.</p>

<p>This script doesn't produce any output:</p>

<pre><code>require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://bitcoinrpc:HGySbCZrdHq5BDQH3iwzb3oGZCJX8AfWe2EBQrNg9EvJ@127.0.0.1:8332/');
echo "&lt;pre&gt;";
print_r($bitcoin);
echo "&lt;pre&gt;\n fgfgf";
print_r($bitcoin-&gt;getinfo());
echo "&lt;/pre&gt;";
</code></pre>
 26456: <p>firstly Setup bitcoin Core API server on your pc.</p>

<p>then install Php-curl for your Apache server.</p>

<p>then Follow Link: <code>en.bitcoin.it/wiki/PHP_developer_intro</code></p>

<p>put api command as function name and if have any Parameters then put in function parameter. i hope it will work.give you result as json format.</p>

<p>Must <code>On</code> your <code>Display Error</code> in <code>php.ini</code> </p>
