<php$qq = "100000"; //qq号码$pwd = "123456"; //密码$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://211.139.167.71/waptest/TWF/qqportal/rela/updateuserinfo.jsp");curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); //这行是设定curl是否跟随header发送的location, 
重要curl_setopt($ch, CURLOPT_POST, 1);//curl_setopt($ch, "Connection", "Keep-Alive");curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);curl_setopt($ch, CURLOPT_POSTFIELDS, "qq=".$qq."&pwd=".$pwd."&FromWhere=register");$return = curl_exec($ch); curl_close($ch);echo strstr($return, "postfield") ? "登录失败" : "登录成功";?>
我在google 找到这QQ挂机 的PHP 代码
我想把这代码放到我的主机上跑 , 请问上面的代码需要改什么地方吗???http://211.139.167.71/waptest/TWF/qq...teuserinfo.jsp // 这网址是干嘛???? 要改掉吗??我的PHP 有支援 curl懂上面代码的朋友可以教一下吗??谢谢