Php 调用未定义的函数_curl()
我已经安装了curl的最新版本,但似乎无法解决问题Php 调用未定义的函数_curl(),php,curl,undefined,Php,Curl,Undefined,我已经安装了curl的最新版本,但似乎无法解决问题 有什么建议吗?Curl是通过以下方式启动的,例如: $uid = mysql_real_escape_string($_SESSION['username']); $url = "https://blockchain.info/merchant/$guid/new_address?password=$main_password&second_password=$second_password&label=$uid"; if (i
有什么建议吗?Curl是通过以下方式启动的,例如:
$uid = mysql_real_escape_string($_SESSION['username']);
$url = "https://blockchain.info/merchant/$guid/new_address?password=$main_password&second_password=$second_password&label=$uid";
if (isset($_POST['amount'])){
$_SESSION['USD_amount'] = $_POST['amount'];
$_SESSION['BTC_amount'] = number_format($_SESSION['USD_amount']/$rate, 8, '.', '');
$temp = _curl($url, '', '');
$_SESSION['BTC_Address'] = get_string_between($temp, 'address":"', '"');
}
没有叫做_curl的函数
建议如下:
什么是卷发函数?…这是一个卷发函数;对于秃顶的人来说,这个功能实际上在我的一个cPanel网络主机中起作用。但不是在apache服务器中,我不知道为什么。
$ch = curl_init($url);