/ Published in: PHP
                    
                                        
A fast description of an sql cell with comparison and response.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<body>
<center>
<?php
if ($_GET['u'] == NULL)
{
}
else if($_GET['p'] == NULL)
{
}
else if($_GET['k'] == NULL)
{
}
else
{
mysql_connect("localhost", "gamemer1_removed", "removed") or die('Could not connect to Serv: ' . mysql_error());
$cmd_login1 = "SELECT `name`,`members_pass_salt`,`members_pass_hash`,`member_group_id`,`member_login_key` FROM `members` WHERE `members_l_username` = '$User'";
$erg = $mysqli->query( $cmd_login2 );
$zei = $erg->fetch_object();
if($zei->members_pass_hash == $password)
{
echo "valid";
}
}
?>
</center>
</body>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                