php伪造header 30
如果用chorm抓到header是Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/w...
如果用chorm抓到 header是
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:
gzip,deflate,sdch
Accept-Language:
zh-CN,zh;q=0.8
Cache-Control:
max-age=0
Connection:
keep-alive
Cookie:
JSESSIONID=F10491900AEAFBF1F43D166028063492
Host:
www.bingocinemas.com
Referer:
http://www.bingocinemas.com/bingo/user/indexone.action?panduan=1
User-Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
那header 这样伪造对不对的呢
$header = array(
'Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Encoding:gzip,deflate,sdch',
'Accept-Language:zh-CN,zh;q=0.8',
'Cache-Control:max-age=0',
'Connection:keep-alive',
'Host:www.bingocinemas.com',
"Referer:http://www.bingocinemas.com/bingo/user/indexone.action?panduan=1
",
);
$useragent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Response Headersview source
";
$Cookie='JSESSIONID=F10491900AEAFBF1F43D166028063492';
哪里错了呢 展开
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:
gzip,deflate,sdch
Accept-Language:
zh-CN,zh;q=0.8
Cache-Control:
max-age=0
Connection:
keep-alive
Cookie:
JSESSIONID=F10491900AEAFBF1F43D166028063492
Host:
www.bingocinemas.com
Referer:
http://www.bingocinemas.com/bingo/user/indexone.action?panduan=1
User-Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
那header 这样伪造对不对的呢
$header = array(
'Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Encoding:gzip,deflate,sdch',
'Accept-Language:zh-CN,zh;q=0.8',
'Cache-Control:max-age=0',
'Connection:keep-alive',
'Host:www.bingocinemas.com',
"Referer:http://www.bingocinemas.com/bingo/user/indexone.action?panduan=1
",
);
$useragent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Response Headersview source
";
$Cookie='JSESSIONID=F10491900AEAFBF1F43D166028063492';
哪里错了呢 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询