您当前的位置 :首页 > 图片 > 图说天下
投稿

图说天下

 51    1 2 3 下一页 尾页
$urls = array( 'http://www.fzjdv.com/1.html', 'http://www.fzjdv.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=www.fzjdv.com&token=nZJGbOENsxcWIXf9'; $ch = curl_init(); $options = array( CURLOPT_URL => $api, CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => implode("n", $urls), CURLOPT_HTTPHEADER => array('Content-Type: text/plain'), ); curl_setopt_array($ch, $options); $result = curl_exec($ch); echo $result;