Jump to content

curl 模拟登录不成功


justin221

Recommended Posts

呵呵

prestashop很安全的 你必须去掉个cookie IP验证 才可以实现模拟登陆哦!

/classes/Cookie.php

 

查找

(!isset($this->_content['remote_addr'])

替换为

1 OR (!isset($this->_content['remote_addr'])

 

 

完毕!

已经搞定了,如果你去掉cookie的话,你是不可能登陆进去的和进行操作的,现在正在进行模拟上传图片,遇到一些问题,不能成功上传,那位以前做过类似的例子,麻烦讨论一下

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...