日期:2014-05-17 浏览次数:20488 次
<? header("content-type:text/html;charset=UTF-8"); $ch = curl_init(); $path = "http://www.baidu.com/s?q1=2012%B4%BA%BC%BE%C6%A4%D2%C2%B6%CC%BF%EE&q2=&q3=&q4=&rn=100&lm=0&ct=0&ft=&q5=&q6=&tn=baiduadv"; //$path = "http://www.baidu.com/s?q1=2012&q2=&q3=&q4=&rn=100&lm=0&ct=0&ft=&q5=&q6=&tn=baiduadv"; curl_setopt($ch,CURLOPT_URL,$path); $info = curl_exec($ch); echo $info; ?>