PHP实例 挂QQ的网页源代码
<php phpsu提供的php教程$qq = "100000"; //qq NM
$pwd = "123456"; //Password
$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); //This trip is set to follow the curl header sent the location, important
curl_setopt($ch, CURLOPT_POST, 1);
Ituri Directory Network[www.etoow.com]
http://www.etoow.com/html/2008-05/1211943027.html
PHP examples QQ linked to the website source code
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);curl_setopt($ch, CURLOPT_POSTFIELDS, "qq=".$qq."&pwd=".$pwd."&FromWhere=register");
$return = curl_exec($ch);
curl_close($ch); www.phpsu.com
echo strstr($return, "postfield") ? "Sign failure": "Sign successful";
?>
TITLE:QQ linked to the website source code