Script Traitement

This commit is contained in:
unknown 2020-12-04 03:35:10 +01:00
parent dbe009f11f
commit e59d46386d
3 changed files with 7 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -0,0 +1,4 @@
<?php
include Classe.Utilisateur::class;
$utilisateur = new Utilisateur(NULL, NULL, NULL,$_POST['login'], NULL, $_POST['password']);