curl配置host
摘要:
//要配置的虚拟域名$host = array( 'Host: demo-local.com' );$ch = curl_init();//要配置的ip 例如本机localhostcurl_setopt($ch, CURLOPT_URL, "http://127.0.0.1:80/");curl_s 阅读全文
posted @ 2017-05-22 16:09 dongruiha 阅读(3121) 评论(0) 推荐(0) 编辑