$cookie_file = tempnam('./temp','cookie'); $login_url = 'http://www.imooc.com/user/login'; $post_fields = 'username=name&password=pass'; $ch = curl_init($login_url); 成功!
举报
0/150
提交
取消
$cookie_file = tempnam('./temp','cookie'); $login_url = 'http://www.imooc.com/user/login'; $post_fields = 'username=name&password=pass'; $ch = curl_init($login_url); 成功!
2014-07-09
举报