justin221 Posted December 4, 2011 Share Posted December 4, 2011 谁用过curl 模拟登录 后台,cookie也设置了为什么不能登录,不知道论坛有没有人以前测试过?期待回答 Link to comment Share on other sites More sharing options...
justin221 Posted December 8, 2011 Author Share Posted December 8, 2011 呵呵 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 More sharing options...
51baofeng Posted December 15, 2011 Share Posted December 15, 2011 有可能是curl模块没有开启的原因 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now