Pour la requête tu veut que je les récupère avec le $_POST ?
Si c'est le cas il le récupère sur login.php qui le transforme en $pseudo et $pass
Et la session_start(); s'est pas grave si elle est pas dans la même accolade que les autres ?
Parce que je l'ai tout au début avant le <html>, et sa me fait toujours pareil
index.php
<?
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Mon site</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body topmargin="0" leftmargin="0" class="phpl">
<?
require ("../config.php") ;
require ("fonctions.php");
ouverture ();
?>
<div align="center">
<center>
<table cellspacing="0" width="100%" height="100%" cellpadding="0">
<tr>
<td colspan="1" align="center" height="100" bgcolor="#C0C0C0"></td>
<td colspan="1" background="haut.gif" valign="middle" align="center" style="border-bottom-style: dashed;border-bottom-width : 1px; border-color:#3b487f"><font class="phpl">PhpLeague - Administration</font></td>
<td bgcolor="#C0C0C0" style="border-bottom-style: dashed;border-bottom-width : 1px; border-color:#3b487f"></td>
</tr>
<tr>
<td class="phpl3" width="12%" valign="top" style="border-right-style: dashed;border-right-width : 1px; border-color:#3b487f">
<a href="?page=championnat"><? echo LEAGUE; ?></a><br /><br />
<a href="?page=groupes_championnats"><? echo "Groupes championnats"; ?></a><br /><br />
<a href="?page=fiches_clubs"><? echo MENU_FICHES_CLUBS; ?></a><br /><br />
<a href="?page=mini_classement"><? echo ADMIN_MINI_1; ?></a><br /><br />
<a href="?page=membres"><? echo MENU_MEMBRES; ?></a><br /><br />
<a href="?page=credits"><? echo MENU_CREDITS; ?></a><br /><br />
<a href="logout.php"><? echo "Logout"; ?></a><br />
</td>
<td valign="top" colspan="2"><div align="center">
<?
if (isset($_COOKIE['user'])) {$user_pseudo=$_COOKIE['user'];} else {$user_pseudo='';}
if (isset($_COOKIE['mot_de_passe'])) {$user_mdp=$_COOKIE['mot_de_passe'];} else {$user_mdp='';}
if (isset($_GET['identification'])) {$identification=$_GET['identification'];} else {$identification='';}
if (isset($_POST['action'])) {$action=$_POST['action'];} else {$action='';}
if (isset($_GET['action'])) {$action=$_GET['action'];} else {$action='';}
if (isset($_REQUEST['actionc'])) {$actionc=$_REQUEST['actionc'];} else {$actionc='';}
if (isset($_REQUEST['go'])) {$go=$_REQUEST['go'];} else {$go='';}
if (isset($_REQUEST['ga'])) {$ga=$_REQUEST['ga'];} else {$ga='';}
if (isset($_REQUEST['id'])) {$id=$_REQUEST['id'];} else {$id='';}
if (isset($_GET['page'])) {$page=$_GET['page'];} else {$page='';}
if (isset($_GET['page'])){$page=$_GET['page'];}
else {$page="accueil";}
VerifSession ($user_pseudo,$user_mdp); // appel de la fonction avec les bon paramètres
if(isset($_SESSION['admin'])) // si la variable de session à été crée donc identifié correctement
{
if($_SESSION["admin"] == 1 || $_SESSION["admin"] == 2)
{
if ($page=="championnat") {include ("championnat.php");}
elseif ($page=="groupes_championnats") {include ("groupes_championnats.php");}
elseif ($page=="mini_classement") {include ("mini_classement.php");}
elseif ($page=="fiches_clubs") {include ("fiches_clubs.php");}
elseif ($page=="membres") {include ("membres.php");}
elseif ($page=="credits") {include ("credits.htm");}
elseif ($page=="accueil") {include ("accueil.htm");}
else {include ("accueil.htm");}
}}
elseif ($identification == "non") {echo "Veuillez renseigner tous les champs !";}
elseif ($identification == "non2") {echo "Identifiants erronés !";}
else {echo "<br /><br /><br /><br />";include ("menu.non-identifie.htm");}
?>
</div></td>
<td width="1%" style="border-left-style: dashed;border-left-width : 1px; border-color:#3b487f"> </td>
</tr>
<tr>
<td bgcolor="C0C0C0"></td>
<td width="100%" colspan="2" height="10" style="border-top-style: dashed;border-top-width : 1px; border-color:#3b487f"> </td>
<td></td>
</tr>
<tr>
<td class="phpl" height="10" colspan="1"><img border="0" src="bouton.gif" width="111" height="25">
</td>
<td class="phpl" colspan="3" width="70%" height="10" colspan="2" align="right"><br />
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
menu.non-identifie.htm
<table border="1" cellpadding="0" cellspacing="0" width="50%" bordercolor="#3b487f" align="center">
<tr>
<td height="23" bgcolor="#3b487f">
<table bgcolor="#3b487f" width="100%">
<tr>
<td width="15" cellpadding="0" cellspacing="0"><img border="0" src="../prono/trait-jaune.gif"></td>
<td> <b><font face="Verdana" size="1" color="#FFFFFF">IDENTIFICATION</font></b> </td>
</tr>
</table>
</td>
</tr>
<tr>
<TD height="20">
<FORM action="login.php" method="post">
<TABLE cellSpacing="0" width="100%" border="0" align="center">
<TBODY>
<TR><TD><FONT face="Verdana" size="1"><B> LOGIN</B></FONT></TD>
<TD><FONT face="Verdana" size="1"><INPUT class="log" size="10" name="pseudo"> </FONT></TD></TR>
<TR>
<TD><FONT face="Verdana" size="1"><B> MOT DE
PASSE</B></FONT></TD>
<TD><FONT face="Verdana" size="1"><INPUT class="log" size="10" type="password"
name="pass">
</FONT></TD>
<TD><input type="hidden" name="autoidentification" value="1"><input type="submit" value="Ok"></TD>
</TR></form>
<TR>
<TD colspan="3">
<FONT face="Verdana" size="1">
<a href="../prono/index.php?page=perdu_mdp">
MOT DE PASSE OUBLIÉ ?</a></FONT></TD>
</TR></TBODY></TABLE></TABLE>
login.php
<?php
require("../config.php");
ouverture();
if (isset($_POST['pseudo'])){$pseudo=$_POST['pseudo'];}
if (isset($_POST['pass'])){$pass=$_POST['pass'];}
if (isset($_POST['autoidentification'])) {$autoidentification=$_POST['autoidentification'];} else {$autoidentification='';}
if($pseudo=='' || $pass=='')
{
header("Location:index.php?identification=non");
}
else
{
$query = "SELECT mot_de_passe FROM phpl_membres WHERE pseudo='$pseudo' and admin='1'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$password_crypt = md5($pass);
if($row['mot_de_passe'] != $password_crypt or mysql_num_rows($result)=="0")
{
header("Location:index.php?identification=non2");
}
else
{
$pseudo = addslashes($pseudo);
$ip = $_SERVER["REMOTE_ADDR"];
$time = time();
$query = "SELECT * FROM phpl_membres WHERE pseudo='$pseudo' and admin='1'";
$result = mysql_query($query) or die ('Erreur SQL !<br />'.$sql.'<br />'.mysql_error());
$row = mysql_fetch_array($result);
$mot_de_passe = $row['mot_de_passe'];
mysql_query("UPDATE phpl_membres SET ip='$ip', last_connect='$time' WHERE pseudo='$pseudo'");
if ($autoidentification) {$expire=365*24*3600;}
else {$expire=3600;}
setcookie("user","$pseudo",time()+$expire,"/","");
setcookie("mot_de_passe","$mot_de_passe",time()+$expire,"/","");
session_start();
session_register('user');
session_register('mot_de_passe');
$_SESSION['user'] = $pseudo;
$_SESSION['mot_de_passe'] = $mot_de_passe;
header("Location: index.php?page=championnat");
}
}
?>
fonctions.php
function VerifSession ($pseudo,$user_mdp)
{
if ($user_pseudo and $user_mdp)
{
$requete= "SELECT mot_de_passe, id_prono FROM phpl_membres WHERE pseudo='$user_pseudo'";
$result = mysql_query($requete);
$row = mysql_fetch_array($result);
if ($row["mot_de_passe"] == $user_mdp);
$_SESSION['admin'] = $row['admin'];
//session_start();
}
else {$a=0;}
return ("$a");
}
Voila j'ai mit les pages concerné pour que tu vois un peu plus clair sur le script

Par contre j'ai pas tous mit la page fonctions.php parce que le reste ne sert a rien a ce que je veut faire
