php curl “couldn't connect to host” 解决方案

  今天php get访问一个接口,有时候成功,有时候又失败。php http_get方法mysql function http_get($url){ //初始化 $ch = curl_init(); //设置选项,包括URL curl_setopt($ch, CURLOPT_URL, $url); curl_set
相关文章
相关标签/搜索