Bonjour,
Je voulais savoir si mon script de connexion est sécurisé. En fait savoir si le include est une bonne idée ou s'il vaut mieux renvoyer sur la page 'identification.php' directement.
Voici mon code :
Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 <form class="form_connexion" method="post"> <table> <tr> <td> </td> <td> <?php if(isset($_POST["submit"])) include ("inc/php/check_sessions/identification.php"); ?> </td> </tr> <tr> <td>Identifiant :</td> <td><input type="text" name="id"/></td> </tr> <tr> <td>Mot de passe :</td> <td><input type="text" name="mdp"/></td> </tr> </table> <br/> <input type="submit" name="submit" value="Connexion" style="height:20px;width:100px" /> </form>
Partager