You are viewing a single comment's thread from:
RE: 使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain
Thanks for this how to, i wanted to give it a try for the SEEMPI project im working on and i have installed Curl and php and saved your code in index.php but when loading the file it displays code instead of the output:
The code that on page after loading index.php is starting with:
ch = curl_init(); curl_setopt($this->ch, CURLOPT_URL, 'https://steemd.steemit.com');..............
........ending with:
');
print_r($steemd->exec(get_chain_properties,[]));
print_r($steemd->get_account('oflyhigh'));
echo('
'); //unset($steemd); ?>
Any suggestions, what am i doing wrong ?
1.php
2.php
Try above two example php files
If 2.php works well, then change my script as it. (Add php after <? )
If both of them don't work, you need to check your HTTP server setting, add php support to it.