Bonjour,
je rencontre un problème de temps d'attente après post d'un formulaire.
voici le formulaire, très simple de connexion admin :
Lorsque je poste ce formulaire, il met 5 secondes à réafficher la page.
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="Logiciel"> <meta name="language" content="FR" /> <title><?php echo $titre_logiciel; ?></title> <meta name="robots" content="noindex,nofollow,noarchive"> <link href="css/styles.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="favicon.ico" > <style> body { background-image: none; } </style> </head> <body> <?php if(!isset($_GET['message'])) { $_GET['message']="vide"; } if($_GET['message']=="incorrect") { $message="Login ou mot de passe incorrect"; } else { $message="Veuillez entrer votre identifiant et votre mot de passe"; } ?> <p align="center" style="margin-top: 200px"><img src="images/logo-login.jpg" alt="<?php echo $titre_logiciel; ?>"></p> <form action="" method="post" name="login_form"> <p align="center"><strong><?php echo $message; ?></strong></p> <table border="0" align="center" cellspacing="0"> <tr> <td align="right" class="petitgras2">Utilisateur :</td> <td><input name="login" type="text" class="champs" id="login" size="20"> </td> </tr> <tr> <td align="right" class="petitgras2">Mot de passe :</td> <td><input name="pass" type="password" class="champs" id="pass" size="20"></td> </tr> <tr> <td colspan="2"><div align="center"> <input name="imageField" type="image" onClick="submit" src="images/ok.gif"> </div></td> </tr> </table> </form> <p> </p> <p align="center"> </p> </body> </html>
Partager