curl 伪造地址怎么获取地址中两个JSOM数据
phpcn_u290
phpcn_u290 2016-12-31 15:58:26
0
1
1416

$id=$_GET['id'];
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "http://地址=".$id."");
curl_setopt ($ch, CURLOPT_REFERER, "http://地址");
curl_exec ($ch);
curl_close ($ch);

以上代码获取到的地址是个js地址,地址如下:

{"url":"http://地址也是js"}

下面这个地址依然是个js地址格式也一样如下要取这个js地址输出后url地址

{"url":"http://地址实际地址也就是需要的地址"}

请问这完整代码该怎么写才对


phpcn_u290
phpcn_u290

reply all(1)
数据分析师

curl How to get the two JSOM data in the address by forging an address - PHP Chinese website Q&A - curl How to get the two JSOM data in the address by forging an address - PHP Chinese website Q&A

Take a look around and learn.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template