Bonjour

Voici mon probleme : je n'arrive pas a faire fonctionner ma page login de l'espace administration dont le script est le suivant

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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php 
if($HTTP_POST_VARS['valider']=="ok") 
   { 
   session_start(); 
   if(($email=="elodie.bertrand2@freesbee.fr")AND($pass=="alinoe")) 
      { 
      $statut="admin";  
      session_register("email");  
      session_register("statut");  
      header("Location:acceuil.php");  
      } 
      else  
      { 
      $erreurlog=1;  
      } 
   } 
 ?>  
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
 
<body>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td width="100%" bgcolor="#000000"> <div align="center"><strong><font color="#FFFFFF" size="5" face="Georgia, Times New Roman, Times, serif">ESPACE 
ADMINISTRATION</font></strong></div></td>
</tr>
<tr bgcolor="#000000"> 
<td height="49"> <div align="center"> 
<p><strong><font color="#FFFFFF" size="4" face="Georgia, Times New Roman, Times, serif">IDENTIFICATION</font></strong></p>
</div></td>
</tr>
<tr bgcolor="#000000">
<td height="49" bgcolor="#FFFFFF"><form name="form1" method="post" action="">
<p>&nbsp;</p>
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td colspan="2"><font face="Georgia, Times New Roman, Times, serif"><strong>Saisissez 
les param&egrave;tres de votre compte :</strong></font></td>
</tr>
<tr> 
<td width="50%"><div align="right"><font face="Georgia, Times New Roman, Times, serif">e-mail</font></div></td>
<td width="50%"><font face="Georgia, Times New Roman, Times, serif">
<input name="email" type="text" id="email">
</font></td>
</tr>
<tr> 
<td><div align="right"><font face="Georgia, Times New Roman, Times, serif">mot 
de passe</font></div></td>
<td><font face="Georgia, Times New Roman, Times, serif">
<input name="pass" type="text" id="pass">
</font></td>
</tr>
<tr> 
<td><div align="right"><font face="Georgia, Times New Roman, Times, serif">
<input name="valider" type="hidden" id="valider" value="ok">
</font></div></td>
<td><font face="Georgia, Times New Roman, Times, serif">
<input type="submit" name="Submit" value="Envoyer">
</font></td>
</tr>
</table>
</form></td>
</tr>
</table>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><p align="center"><font color="#FF0000" face="Georgia, Times New Roman, Times, serif"><strong> 
<?php if($erreurlog==1) {?>  
<br>
</strong></font><font color="#FF0000" face="Georgia, Times New Roman, Times, serif"><strong>Votre 
login et votre mot de passe sont erron&eacute;s <br>
ou ils ne vous autorisent pas l'acc&egrave;s &agrave; l'espace administrateur 
! </strong></font></p>
<p align="center"><?php } 
      ?>  
<br>
</p>
</td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>
Celui-ci fonctionne tres bien lors de test sur le serveur local. Mais des qu'il est sur le serveur distant rien n'y fait impossible de le faire fonctionner. Il me renvoi la page suivante que d'ailleur je ne saisie pas.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, php4-m@invalid and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Merci de bien vouloir m'aider car j'ai tout essayé mais cela ne fonctionne pas. En dernier recour j'utiliserais un script faisant appel a une connexion a la base de donnée.

Merci d'avance pour vos réponse
Elodie