Initial 2005 state
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
include("config.php");
|
||||
include("includes/statsimage.php");
|
||||
|
||||
$char['x']=$_GET['x'];
|
||||
$char['y']=$_GET['y'];
|
||||
|
||||
$u=$char['x'];
|
||||
$p=$char['y'];
|
||||
|
||||
|
||||
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
|
||||
while($row = mysql_fetch_array($result))
|
||||
{
|
||||
$uid=$row['id'];
|
||||
$x=$row['x'];
|
||||
$y=$row['y'];
|
||||
|
||||
if(md5($row['password'])!=$p)
|
||||
{
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
makestatimage($uid);
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user