curl 验证代理...145.14.60.165:80 一验证这个就出问题 请问是什么原因

WBOY
Release: 2016-06-23 14:15:34
Original
920 people have browsed it

连接被重置
载入页面时到服务器的连接被重置。
一验证这个代理  就出现这种问题 请问是什么原因...??


回复讨论(解决方案)

你的那个地址需要 HTTP 认证

额  那怎么样才能够就是如果遇到这种情况就跳过,,  版主大大 我就是之前请教你批量验证代理的那个人    验证代理的很多时候都需要http验证
  但是curl一遇到这种验证  就终止php运行了   要怎么样跳过过去 或者不让php停止运行  继续验证下面的 ??

代理服务器都是经常要变动的,特别是端口号
你的经常去更新你的资源,比如抓取 http://www.cnproxy.com/proxy1.html ,一般有10页

你的这个地址韩慧的 http 头中有 HTTP/1.1 401 判断一下就可以了

我已经不记得你最后是怎么写的了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!