J'ai une page d'identification contenant le code 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
<?php
include("function.inc.php"); 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
	<link rel="shortcut icon" href="../images/favicon.ico">
	<link rel="icon" type="image/gif" href="./images/favicon.gif">
	<link href="./style/login.css" rel="stylesheet" media="all" type="text/css">
	<script type="text/javascript" src="md5.js"></script>
	<script language="JavaScript">
	</script>
</head>
<body>
<div id="cadre">
	<div class="login">
	<form name="auth" action="login.php" method="post">
	<p>
	<table>
	<tr><th colspan="2" align="center">Connectez-vous</th></tr>
	<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
	<tr><td align="right">Identifiant :</td><td><input type="text" name="login" maxlength="150" size="20"></td></tr>
	<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
	<tr><td align="right">Mot de passe :</td><td><input type="password" name="pass" maxlength="100" size="20"></td></tr>
	<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
	<tr/><td></td><td><input type="submit" name="ok" value="log in" onClick="crypt();"></td></tr>
	<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
	<tr><td colspan="2" align="center"><a href="mailto:<?php echo ADMIN_EMAIL; ?> subject=mot de passe oublié & body=Mot de passe oublié">Mot de passe oublié</a></td></tr>
	<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
	</table>
	</p>
	</form>
	</div>
</div>
</body>
</html>
Au premier chargement de la page je me suis rendu compte que le code PHP intégré à la page n'était pas exécuté.

La constante ADMIN_EMAIL est définie dans function.inc.php mais n'est pas affichée.

Une idée sur mon erreur?

Merci d'avance.