翩翩博客-翩翩个人博客
修改 head.htm
翩翩博客-翩翩个人博客

公司简介 | 商业合作 | 广告中心 | 联系我们 | Copyright © 2019 shenzhennangongguanzhaopin.cn All Rights Reserved.

服务中心 举报邮箱

版权所有

$urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=shenzhen.ppazj.cn&token=8sHhgqzKB98Kz0ff'; $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;