摘要: /i', $contents, $matches);if(!empty($matches)) { $formhash = $matches[1];} else { die('Not found the forumhash.');}//POST数据,获取COOKIE,cookie文件放在网站的temp目录下$cookie_file = tempnam('./temp','cookie');$ch = curl_init($login_url);curl_setopt($ch, CURLOPT_HEADER, 0);curl_setopt($ 阅读全文
posted @ 2013-07-23 15:58 与时俱进 阅读(894) 评论(1) 推荐(1) 编辑
摘要: $login_url = 'http://passport.renren.com/PLogin.do';$post_fields['email'] = 'XXXX';$post_fields['password'] = 'XXXX';$post_fields['origURL'] = 'http%3A%2F%2Fhome.renren.com%2FHome.do';$post_fields['domain'] = 'renren.com';//cook 阅读全文
posted @ 2013-07-23 15:57 与时俱进 阅读(864) 评论(1) 推荐(1) 编辑
友情链接:同里老宅院民居客栈