Script Traitement
This commit is contained in:
parent
dbe009f11f
commit
e59d46386d
@ -20,7 +20,7 @@
|
|||||||
<!-- Login Form -->
|
<!-- Login Form -->
|
||||||
<form>
|
<form>
|
||||||
<input type="text" id="login" class="fondu second" name="login" placeholder="Nom d'utilisateur">
|
<input type="text" id="login" class="fondu second" name="login" placeholder="Nom d'utilisateur">
|
||||||
<input type="text" id="password" class="fondu third" name="login" placeholder="Mot de passe">
|
<input type="text" id="password" class="fondu third" name="password" placeholder="Mot de passe">
|
||||||
<input type="submit" class="fondu fourth" value="Se connecter">
|
<input type="submit" class="fondu fourth" value="Se connecter">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<link rel="stylesheet" href="css/inscription.css" />
|
<link rel="stylesheet" href="css/inscription.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form method="post" action="./traitement.php" name="formulaire">
|
<form method="post" action="./php/Script/traitementInscription.php" name="formulaire">
|
||||||
|
|
||||||
<div class="wrapper fonduBas">
|
<div class="wrapper fonduBas">
|
||||||
<div id="contenu">
|
<div id="contenu">
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<!-- Login Form -->
|
<!-- Login Form -->
|
||||||
<form>
|
<form>
|
||||||
<input type="text" id="login" class="fondu second" name="login" placeholder="Nom d'utilisateur">
|
<input type="text" id="login" class="fondu second" name="login" placeholder="Nom d'utilisateur">
|
||||||
<input type="text" id="password" class="fondu third" name="login" placeholder="Mot de passe">
|
<input type="text" id="password" class="fondu third" name="password" placeholder="Mot de passe">
|
||||||
<input type="submit" class="fondu fourth" value="S'inscrire">
|
<input type="submit" class="fondu fourth" value="S'inscrire">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
4
php/Script/traitementInscription.php
Normal file
4
php/Script/traitementInscription.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
include Classe.Utilisateur::class;
|
||||||
|
|
||||||
|
$utilisateur = new Utilisateur(NULL, NULL, NULL,$_POST['login'], NULL, $_POST['password']);
|
Loading…
x
Reference in New Issue
Block a user