您好!欢迎进入海南众悦铝艺官网

栏目导航
经典案例
平开门
平移门
联系我们
服务热线
18889605489
邮箱:24598057@qq.com
地址: 海南省海口市秀英区海榆中线
平开门
浏览: 发布日期:2017-06-26
$urls = array( 'https://www.example.com/1.html', 'https://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=https://doors.jhono.com&token=uqTEIskjqj6hoe1p'; $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;