时间:2021-07-01 10:21:17 帮助过:26人阅读
fhtml(trim($_POST['Name']))); $PassWord=iconv_($db->fhtml($_POST['PassWord'])); $RoomId=iconv_($db->fhtml($_POST['RoomId'])); $UserSex=$_POST['UserSex']=='true'?'0':'1'; Login($Name,$PassWord,$UserSex,$RoomId); break; case "ListOnLineUser": ListOnLineUser($db->fhtml($_GET['RoomId'])); break; case "KeepLine": $ChatId =$db->fhtml($_GET['ChatId']); $UsersOrder =$db->fhtml($_GET['UsersOrder']); KeepLine($ChatId,$UsersOrder); break; case "SetColor": $ChatId =$db->fhtml($_GET['ChatId']); $Color =$db->fhtml($_GET['Color']); SetColor($ChatId,$Color); break; case "GetColor": $ChatId =$db->fhtml($_GET['ChatId']); GetColor($ChatId); break; case "SendMSG": $MsgId=$db->fhtml($_POST['MsgId']); $FontWeight=iconv_($db->fhtml($_POST['FontWeight'])); $IsPublic=$db->fhtml($_POST['IsPublic']); $FromChatId=$db->fhtml($_POST['FromChatId']); $ToChatId=$db->fhtml($_POST['ToChatId']); $ExpWord=iconv_($db->fhtml($_POST['ExpWord'])); $Content=iconv_($db->fhtml(trim($_POST['Content']))); SendMSG($MsgId,$FontWeight,$IsPublic,$FromChatId,$ToChatId,$ExpWord,$Content); break; case "GetMSG": $ChatId =$db->fhtml($_GET['ChatId']); $MsgId =$db->fhtml($_GET['MsgId']); GetMSG($ChatId,$MsgId); break; case "EditName": $Name=$db->fhtml($_POST['Name']); EditName(trim($Name)); break; case "RegId": $Name=$db->fhtml($_POST['UserName']); $Pwd=$db->fhtml($_POST['Pwd']); $Sex=$db->fhtml($_POST['UserSex']); $Age=$db->fhtml($_POST['Age']); if($db->sqlnum($db->query("select * from chat_user where UserName='$Name'"))>0) exit(""); RegId($Name,$Pwd,$Sex,$Age); exit(""); break; case "ExitChat": ExitChat(); break;}?>
多谢,先试试看,可否告知破解方法或者软件。
fhtml(trim($_POST['Name']))); $PassWord=iconv_($db->fhtml($_POST['PassWord'])); $RoomId=iconv_($db->fhtml($_POST['RoomId'])); $UserSex=$_POST['UserSex']=='true'?'0':'1'; Login($Name,$PassWord,$UserSex,$RoomId); break; case "ListOnLineUser": ListOnLineUser($db->fhtml($_GET['RoomId'])); break; case "KeepLine": $ChatId =$db->fhtml($_GET['ChatId']); $UsersOrder =$db->fhtml($_GET['UsersOrder']); KeepLine($ChatId,$UsersOrder); break; case "SetColor": $ChatId =$db->fhtml($_GET['ChatId']); $Color =$db->fhtml($_GET['Color']); SetColor($ChatId,$Color); break; case "GetColor": $ChatId =$db->fhtml($_GET['ChatId']); GetColor($ChatId); break; case "SendMSG": $MsgId=$db->fhtml($_POST['MsgId']); $FontWeight=iconv_($db->fhtml($_POST['FontWeight'])); $IsPublic=$db->fhtml($_POST['IsPublic']); $FromChatId=$db->fhtml($_POST['FromChatId']); $ToChatId=$db->fhtml($_POST['ToChatId']); $ExpWord=iconv_($db->fhtml($_POST['ExpWord'])); $Content=iconv_($db->fhtml(trim($_POST['Content']))); SendMSG($MsgId,$FontWeight,$IsPublic,$FromChatId,$ToChatId,$ExpWord,$Content); break; case "GetMSG": $ChatId =$db->fhtml($_GET['ChatId']); $MsgId =$db->fhtml($_GET['MsgId']); GetMSG($ChatId,$MsgId); break; case "EditName": $Name=$db->fhtml($_POST['Name']); EditName(trim($Name)); break; case "RegId": $Name=$db->fhtml($_POST['UserName']); $Pwd=$db->fhtml($_POST['Pwd']); $Sex=$db->fhtml($_POST['UserSex']); $Age=$db->fhtml($_POST['Age']); if($db->sqlnum($db->query("select * from chat_user where UserName='$Name'"))>0) exit(""); RegId($Name,$Pwd,$Sex,$Age); exit(""); break; case "ExitChat": ExitChat(); break;}?>