[车找人] 周口亳州菏泽曹县商丘江苏 -- 周口开封郑州许昌漯河新乡 (出发时间:2023-07-24 23:59)
浏览:5013 刷新:2023-07-24 02:16
$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;