
Membre
|
comme le sujet le dis il ne distingue meme pas la differense ... et bloque a tout coup
$t = time()-(60*60*24);
$query99912 = $db->execute("select * from `players` where `ip`=? and `last_active`>?", array($_SERVER['REMOTE_ADDR'], $t));
$log1 = $query99912->fetchrow();
if (!$_POST['username'] != $log1['username'])
{
echo "<body style=\"color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);\"
alink=\"#000099\" link=\"#000099\" vlink=\"#990099\">
<font color=red><big><big><big><big><big><center>Probleme Multi-connections refuser</center></big></big></big></big></big><br /> " . $log1['username'] . "</font>";
;
die();
}
https://guerredesgangs.net & http://www.bazinio.ca & http://www.thestreet2.ca
|

Membre
|
Je ne comprend franchement pas pourquoi pourvez-vous m'aide ?]
$query99912 = $db->execute("select * from `players` where `ip`=? order by `last_active` desc LIMIT 0,1", array($_SERVER['REMOTE_ADDR']));
$log1 = $query99912->fetchrow();
if ($_POST['username'] != $log1['username'])
{
echo "<body style=\"color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);\"
alink=\"#000099\" link=\"#000099\" vlink=\"#990099\">
<font color=red><big><big><big><big><big><center>Probleme Connections Refuser. Les connections multiple son refuser </center></big></big></big></big></big><br />Votre dernier Login: " . $log1['username'] . "</font>";
;
die();
}
https://guerredesgangs.net & http://www.bazinio.ca & http://www.thestreet2.ca
|

Admin
|
Bonjour,
Essaye:
$query99912 = $db->execute("select * from `players` where `ip`=? order by `last_active` desc LIMIT 0,1", array($_SERVER['REMOTE_ADDR']));
$log1 = $query99912->fetchrow();
if (isset($_POST['username']) and $_POST['username'] != $log1['username'])
{
echo "<body style=\"color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);\"
alink=\"#000099\" link=\"#000099\" vlink=\"#990099\">
<font color=red><big><big><big><big><big><center>Probleme Connections Refuser. Les connections multiple son refuser </center></big></big></big></big></big><br />Votre dernier Login: " . $log1['username'] . "</font>";
;
die();
}
Cordialement
|

Membre
|
toujours meme probleme :/
Probleme Connections Refuser. Les connections multiple son refuser
Votre dernier Login: Blingcru
https://guerredesgangs.net & http://www.bazinio.ca & http://www.thestreet2.ca
|

Admin
|
Bonjour,
met ce code:
echo $_POST['username'].' -> '.$log1['username'];
juste avant ta condition php, et dit moi ce qui est affiché.
Cordialement
|

Membre
|
ok 2min
https://guerredesgangs.net & http://www.bazinio.ca & http://www.thestreet2.ca
|

Membre
|
x
https://guerredesgangs.net & http://www.bazinio.ca & http://www.thestreet2.ca
|