kenelm
发表于 2021-2-6 11:31:33
看看学习.........................
tl4423
发表于 2021-2-22 13:20:02
看看:(6666666666666666666666
tsonya
发表于 2021-5-9 15:17:47
回复一下了解看看!
bijia
发表于 2021-5-11 19:00:04
1111111111111111111111111
kalitools
发表于 2021-8-21 16:34:45
看看:(:(:(:(:(:(:(:(:(
iou33449999
发表于 2021-9-25 17:54:54
回复一下,了解看看
klylw520
发表于 2021-9-30 14:27:25
:Q支持一下看看
sai8888sai
发表于 2021-11-3 15:14:25
瞅一瞅他趣app社区加密内容pojie采集,完整版规则
hot178
发表于 2021-11-8 16:42:56
<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
header("Content-type: text/html; charset=utf8");
function curl_post($header,$data,$url)
{
$ch = curl_init();
$res= curl_setopt ($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch,CURLOPT_HTTPHEADER,$header);
$result = curl_exec ($ch);
curl_close($ch);
if ($result == NULL) {
return 0;
}
return $result;
}
$url = 'http://www.123.com/fun/?act=jisuan_shipping_cost'; //要post的网址
$header = array("Host:www.123.com",
"Content-Type:application/x-www-form-urlencoded; charset=UTF-8",
'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0'
);
//post的header值,不同的值之间使用逗号分隔
$data = 'goods_id='.$LabelArray['goods_id'].'®ion=US&number=1&shipping_id=17&goods_price='.$LabelArray['价格']; //POST的值,可以引用标签的值
$ret = curl_post($header,$data,$url); //进行post请求,并把post的返回值赋值给$ret
$LabelArray['运费'] = $ret; //把$ret的值赋值给标签运费
echo serialize($LabelArray);
?>
hongzusheng
发表于 2022-10-28 12:51:28
回复一下了解看看!
页:
1
2
3
4
5
6
7
8
9
[10]
11