Citation :
.
..
...
if($mysql->requete("INSERT INTO membres VALUES('','".$pseudo."','".md5($_POST['passe'])."',".$_POST['sexe'].",".mktime(0,0,0,$_POST['mois'],$_POST['jour'],$_POST['annee']).",'".$_POST['ville']."',0,0)",0,0,1))
{
$bienvenu = "bienvenue sur ZVJ web site bla bla bla ...";
$admine='admine';
mysql_query("INSERT INTO messages VALUES('', '".$admine."', '".$bienvenu."', '".$admine."', '".$pseudo."')" );
session_start(); $_SESSION['pseudo'] = $pseudo;
$_SESSION['pass'] = $_POST['passe']; header('Location: conex.php');
}
else
{
header('location:inscription.php?confirm=5');
}
...
..
.
.
|