file_get_contents not working with blockchain api
问题 This is the code I have <?php include("connect.php"); $bc = $dbh->prepare("SELECT * FROM `blockchain`"); $bc->execute(); $bcs = $bc->fetch(PDO::FETCH_ASSOC); $type = $_REQUEST['type']; $price = $_REQUEST['amount']; $uid = $_REQUEST['uid']; $secret = $bcs['apikey']; $my_address = $bcs['badd']; $my_callback_url = 'http://www.imusicsong.com/api/bcp.php?secret='.$secret; $root_url = 'https://blockchain.info/api/receive'; $parameters = 'method=create&address=' . $my_address .'&callback='.