Home  >  Article  >  Backend Development  >  通过curl模拟Post数据到页面后提示验证码异常,求觖求

通过curl模拟Post数据到页面后提示验证码异常,求觖求

WBOY
WBOYOriginal
2016-06-13 12:45:44791browse

通过curl模拟Post数据到页面后提示验证码错误,求觖求
目标站:http://218.25.58.44/searchsys/



我的源码如下:



现在问题是:返回结果“验证码错误”,也就是验证码失效了。求指点!
我在CSDN上查阅了相关资料,但还是弄不太明白。说是应该带cookie一起post 。我主要对这个流程没太懂,如何来保证我取到的验证码是与cookie一致?目前验证码识别问题我已经成功了。
多谢高手指点!

Statement:
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