当前位置:爱推吧 » curl 破解防盗采集

php curl破解防盗链

function get_content($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); $header = array(); $header[] = 'Host: t.xx.com'; $header[] = 'Accept-Encoding: gzip, deflate, sdch'; $header[] = 'Accept-Language: zh-CN,zh;q=0.8'; $header[] = 'Cookie: _hc.v=d846d370-b934-97da-2584-df1d51be8040.1476003831; aburl=1; cy=2; cye=beijing; _tr.u=rw0PincYp5DQrbEl; t_rct=20921750; PHOENIX...