关于的google curl的get返回
2014-03-29
阅读 1 分钟
4.5kheader('Content-Type: text/html; charset=utf-8'); $cookie_file = dirname(__FILE__).'/cookie.txt'; //先获取cookies并保存 $url = "http://www.google.co.jp"; $ch = curl_init($url); //初始化 curl_setopt($ch, CURLOPT_HEADER, 0); //不返回header部分 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //返回...