Version 1.5
This commit is contained in:
parent
083eb365c5
commit
a66ed9797b
157 changed files with 29787 additions and 3531 deletions
|
|
@ -3,6 +3,7 @@ if(!defined('INDEX')) { header('Location: ../'); exit; }
|
|||
|
||||
if (!empty($_GET['cds'])) {
|
||||
if (!empty($_GET['nom']) && !empty($_GET['race']) && !empty($_GET['mdp']) && !empty($_GET['mail']) && !empty($_GET['ti']) && isset($_GET['placement'])) {
|
||||
file_log('inscription : login = '.$_POST['HB_login'].' ; password = '.$_POST['HB_password'], 1);
|
||||
if ($_GET['cds'] == sha1($_GET['nom'].'$'.$_GET['race'].'£'.$_GET['mdp'].'#'.$_GET['mail'].'ß'.$_GET['ti'].'Ó'.$_SERVER['HTTP_USER_AGENT'].'♀☻'.$_SERVER['REMOTE_ADDR'].$_GET['placement'])) {
|
||||
$base = new bdd();
|
||||
$base->connexion();
|
||||
|
|
@ -27,7 +28,7 @@ if (!empty($_GET['cds'])) {
|
|||
|
||||
//Création des bases de la planète
|
||||
$image = mt_rand(1,15);
|
||||
$cases = mt_rand(150,250);
|
||||
$cases = 225;
|
||||
$queryUser = $base->query("SELECT * FROM `user` WHERE `pseudo` = '$pseudo' ORDER BY `id` DESC;");
|
||||
$id_user = $queryUser[0]['id'];
|
||||
$time = time();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue