Unable to establish connection to bitcoin using json and php I'm newbie to bitcoins. Im trying to get the info, as much as I can.
I'm trying to get the information by using getinfo() method that is mention in api documentation.
The code i have tried is mentioned below.

   require_once('jsonRPCClient.php');
        $bitcoin = new jsonRPCClient('http://identifier:identiferpass@rpc.blockchain.info:443'); 
 print_r($bitcoin-&gt;getinfo());


I have googled it but didn't find the solution. I'm not getting what is the issue in the above code.

I just want to create a hello world connection. Any suggestions will be appreciated. Thank you
You are trying to connect to http over the https port. 

For HTTP use:


  $bitcoin = new
  jsonRPCClient('http://identifier:identiferpass@rpc.blockchain.info');


For HTTPS use:


  $bitcoin = new
  jsonRPCClient('https://identifier:identiferpass@rpc.blockchain.info');


According to the blockchain.info documentation both should work.