//PAGE AUTHENTIFICAION.PHP
<HTML>
<META http-equiv=Page-Enter content=blendTrans(Duration=1.2)>
<link href="text_css.css" rel="stylesheet" type="text/css" />
<body link="#FF3333" alink="#111345" >
<center><table bgcolor="blue" border=\"0\" width=\"450\" ><tr><td><center><h3>Veuillez inserer votre login et votre mot de passe</h3></center></td></tr></table></center>
<hr align="center" width=300 size=2 color="#003366"><br />
<br/>
<form method="post" action="verif.php" name="f1">
<table width="128" align="center">
<tr >
<td ><p align="center" class="Style3"><h3>Login</h3></p></td></tr>
<tr><td ><input name="nom" type="text" value="" size=20 width=6 class="Style3" style=" color:black; font-size:15px; background-color:yellow; font-family:verdana; border-color:#FFFF00; maxlength="10"> </td>
</tr>
<tr>
<td ><p align="center" class="Style3"><h3>Password</h3></p></td></tr>
<tr><td ><input name="password" type="password" value="" class="Style3" style=" color:black; font-size:15px; background-color:yellow; font-family:verdana; border-color:#FFFF00; maxlength="10"></td>
</tr>
<tr >
<td ><p align="center" class="sstitre"><em><strong><em>
<input name="Valider" type="submit" class="Style2" value="connexion" style=" color:#00FF00; font-size:20px; background-color:#CC3300; font-family:verdana; border-color:#FFFF00;">
</em></strong></em></p></td>
</tr>
</table>
</form>
</body>
</HTML>
//page choix.php
<?php session_start();
include "sesreg.php";
?>
<HTML>
<body link="#00008B" alink="#9370DB" width=800 >
<br> <center><table bgcolor="yellow" border="0" ><tr><td><center><h3>Administration de l'Annuaire</h3></center></td></tr></table>
<br><center><table border="0"><tr><td><center><h4><u>Gestion des utilisateurs</u></h4></center></td></tr></table></center>
<p><a href="ajoute.php?msg=Ajout d'un Utilisateur"> sssss <?php echo $_session['login'] ;?> </a><br></p>
<p><a href="ajoute.php?msg=Ajout d'un Utilisateur">Ajout d'un utilisateur</a></p><br>
<p><a href="supprime.php">Suppression d'un utilisateur</a>
<p><a href="affiche.php">Afficher utilisateurs</a><br>
<br><center><table border="0"><tr><td><center><h4><u>Gestion des services</u></h4></center></td></tr></table></center>
<p><a href="addservice.php">Ajout d'un service</a><br>
<p><a href="delservice.php">Suppression d'un service</a><br>
<p><a href="service.php">Afficher services</a><br>
</body>
</html>
//page verif.php
<?php session_start();
include_once "sesreg.php";
require ("./info/info.php");
$nom = $_REQUEST['nom'];
$password = $_REQUEST['password'];
if (($nom==$admin) && ($password==$rootpw))
{
$login='$admin';
session_register('login');
//$_session["login"]=$admin;
header("Location: "."choix.php");
die();
}
header("Location: "."authentification.php");
die();
$nom="";
$password="";
?>
//page sesreg.php
<?php
session_register('login');
?>
//
merci de m'aider a ouvrir la session