解决使用CURL出现code ERROR 60错误的问题

今天用CURL调用和风天气的API,(原本想用file_get_cntent()的,可是据说curl好用..就去试试了,也能够写爬虫什么的,确实好用)php CURL,html 在调用下面这段代码的时候,显示code error 60;(原本没显示,而后调用了curl_errno把错误打印出来)apache <?php header('Content-type:text/html;charset=
相关文章
相关标签/搜索