有人碰到过设置了长度就登录不了的问题吗?
curl_setopt($curlobj, CURLOPT_HTTPHEADER, array("application/x-www-form- urlencoded; charset=utf-8", "Content-length: ".strlen($data)
));
这三行代码注释掉又能登录了采集了
curl_setopt($curlobj, CURLOPT_HTTPHEADER, array("application/x-www-form- urlencoded; charset=utf-8", "Content-length: ".strlen($data)
));
这三行代码注释掉又能登录了采集了
2016-06-25
举报