I have multiple voting methods coded for community testing (per utopianfuture's proposal) I just need a way to send and receive API calls in PHP. The below example returns NULL... Suggestions?
function get_web_page( $url )
{
...
$ch = curl_init($url);
...
}
$result = get_web_page('http://node6.mynxt.info:7874/nxt?requestType=getBalance&account=10006970057300228034');
var_dump($result);
?>
Maybe try:
function get_web_page($url)
{
return file_get_contents($url);
}