摘要: <?php$cookie_file = "tmp.cookie";//做一个放cookie的文件$login_url = "http://xxx.com/logon.php";//登录网址$verify_code_url = "http://xxx.com/verifyCode.php"; echo 阅读全文
posted @ 2017-03-10 18:38 在下刘彦直 阅读(3738) 评论(0) 推荐(0) 编辑
摘要: 研究curl post登录 一步一步来,一个星期前我也不知道curl是啥。都是百度学习的,好了贴代码 这个是没有验证码的登录(账号密码自己申请一个) <?php$cookieSuccess = dirname(__FILE__)."/1769.tmp";$ch = curl_init(); // 用 阅读全文
posted @ 2017-03-10 17:22 在下刘彦直 阅读(12338) 评论(0) 推荐(0) 编辑