I am wondering if its possible to use curl to getinfo from the bitcoin server thanks.
<?php
// init the resource
$ch = curl_init();
// set a single option...
$username = 'usernamefromconfig';
$pwd = 'passwordfromconfig';
curl_setopt_array(
$ch, array(
CURLOPT_URL => "$username:[email protected]:8336",
CURLOPT_RETURNTRANSFER => true
));
$output = curl_exec($ch);
echo $output;
// free
curl_close($ch);
?>