[FS] BanList (BlackListe)
#5

Faut, les mots de passes sont crypter en MD5, et puis, suffi de pas mettre son login/pass habituel...

Aperзu du script php:
Code:
        @mysql_connect(SQL_SERVER,SQL_USER,SQL_PASS);
        @mysql_select_db(SQL_BDD);    
        $pass = md5($_POST['pass']);
        $login = $_POST['login'];


        $reponse_pseudo=mysql_query("SELECT user FROM users WHERE user='$login'");
        $count_pseudo=mysql_num_rows($reponse_pseudo);
        if($count_pseudo == 1)
        {
            echo "This pseudo is already use.<br /><br />";
        }    
        else
        {
        $cmd = "INSERT INTO `xxxxx`.`users` (`user` ,`pass`) VALUES ('".$login."','".$pass."')";
        @mysql_query($cmd);        
        echo("Account created!");
        }

EDIT: Et puis, ou est l’intйrкt de voler les comptes? On est une communautй.
EDIT2: Je vais le mettre sur pastebin :)
Reply


Messages In This Thread
[FS] BanList (BlackListe) [Systeme de BAN] - by Brian Turner - 28.10.2011, 21:29
Re : [FS] BanList (BlackListe) - by mehdi-jumper - 28.10.2011, 21:35
Re : [FS] BanList (BlackListe) - by Brian Turner - 28.10.2011, 21:36
Re : [FS] BanList (BlackListe) - by mehdi-jumper - 28.10.2011, 21:39
Re : [FS] BanList (BlackListe) - by Brian Turner - 28.10.2011, 21:40
Re : [FS] BanList (BlackListe) - by mehdi-jumper - 28.10.2011, 21:46
Re : [FS] BanList (BlackListe) - by Brian Turner - 28.10.2011, 21:47
Re : [FS] BanList (BlackListe) - by decondelite - 29.10.2011, 20:09
Re : [FS] BanList (BlackListe) - by mehdi-jumper - 29.10.2011, 20:19
Re : [FS] BanList (BlackListe) - by B4pt1st3du24 - 17.01.2012, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)