public int getGTK(String str){
int hash = 5381;
for(int i = 0, len = str.length(); i < len; ++i){
hash += (hash << 5) + str.charAt(i);
}
return hash & 0x7fffffff;
}
某些地址後必須帶上參數g_tk=getGTK(skey),否則報500錯誤,這段時間出現的,找了好久才找到是這個原因,淚流滿面啊!