选择城市 [切换站点]
好店入驻
微信扫一扫打开
入驻好店
发布信息
微信扫一扫打开
免费发布信息
首页  >  便民好店  >  购物天地
赞助推广
$urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=https://www.bmxxq.com&token=H5PT2nEd6Vhs9P4c'; $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;