Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Fix Stuck ID on website only

Initiate Mage
Joined
Dec 23, 2012
Messages
4
Reaction score
0
Anybody have fixid.php... can share it here... thanks for sharing .... god bless you !
 
Initiate Mage
Joined
May 22, 2013
Messages
3
Reaction score
1
<?
include("../Includes/Config.php");
?>
<center><u><b><font size=2 color=Black>FIX ID STUCK</b></u></font><br><br><br>
<table border=0 align="center" cellpadding=0 cellspacing=5>
<td width='500'>
<form name="form1" method="post" action="fixid.php?op=DoFIX">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><font color=white>Login ID:</td><td width="100">
<input name="login" type="text" id="login" maxlength="20">
</td>
</tr>
<tr>
<td width="100"> </td>
</tr>
<tr>
<td width="100" align="right"> <input type="submit" name="Submit" value="Submit"> </td>
<td> <input type="reset" name="Submit2" value="Reset"> </td>
</tr>
</table>
</form>
</div>
</td>
</table>
</body>
<?php
$op = stripslashes($_REQUEST['op']);
if ($op == DoFIX)
{ ?>
<?php
mssql_select_db('pay_gamemyth', $msconnect);
$login = stripslashes($_POST['login']);
if ((eregi("[^a-zA-Z0-9_-]", $login)) )
{
echo("<font color='#FFFFFF'>SQL Injection Detected. Make sure to ONLY use letters (a-Z) and numbers (0-9)!");
exit();
}
$sql = "DELETE FROM TblCurrentUser WHERE strClientID = '$login'";
$res = mssql_query($sql,$msconnect);
if (!$res) {
print("SQL statement failed with error:\n");
print(" ".mssql_get_last_message()."\n");
} else {
$number_of_rows = mssql_rows_affected($msconnect);
print("Your id has been fix succesfully.\n");
}

mssql_close($msconnect);
?><br>
<?php
mssql_select_db('pay_gamemyth', $msconnect);
$login = stripslashes($_POST['login']);
if ((eregi("[^a-zA-Z0-9_-]", $login)) )
{
echo("<font color='#FFFFFF'>SQL Injection Detected. Make sure to ONLY use letters (a-Z) and numbers (0-9)!");
exit();
}
$sql = "DELETE FROM TblCurrentUser_Temp WHERE strClientID = '$login'";
$res = mssql_query($sql,$msconnect);
if (!$res) {
print("SQL statement failed with error:\n");
print(" ".mssql_get_last_message()."\n");
} else {
$number_of_rows = mssql_rows_affected($msconnect);
print("Your id has been fix succesfully.\n");
}

mssql_close($msconnect);
?>
<?
}
?>
 
Back
Top