PHP问题来看看吧
就是怎么吧这个提取的sid添加到下面那个sid框里。
document.getElementById("result").innerHTML = '<font color=green>'+logr[4]+logr[5]+'</font><br/>QQ帐号:<input id="uin" value="'+uin+'"/><br/>QQ sid:<input id="sid" value="'+logr[2]+'"/><br/><a href="./">返回重新获取SID</a>';
吧这个添加到下面这里
SID:<br><input type="text" class="form-control" name="sid" value="{$_GET['sid']}"><br>
<a href="../qqsid/index.html" class="btn btn-default btn-block">点此获取SID</a><br>
然后在JavaScript代码中增加一行document.getElementById("sid").innerHTML = logr[2]
@冷寂,
function getmd5(u, p, code) {
var p = encrypt.Encryption.getEncryption(p, u, code);
return p
}
document.getElementById("sid").innerHTML = logr[2]
在第一句后面加的