المرجو المساعدة
لا اعرف ابن يوجد المشكل
<?php
session_start();
if(!empty($_POST['pseudo'])){
//chargement du pseudonyme
$_SESSION['pseudo']=$_POST['pseudo'];
}
if(empty($_SESSION['pseudo'])){
header('location: pseudo.html');
die("");
}
?>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmls="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Tchatmounaim</title>
<link rel="stylesheet" type="text/css"
media="all" href="all.css" />
<link rel="stylesheet"type="text/css"
media="screen"href="screen.css/>
<link rel="stylesheet"type="text/css"
media="print"href="print.css/>
<script type="text/javascript"src="controle.js"></script>
</head>
<body>
<div>
<h1>Tchat</h1>
<h2 aligne=center><?php echo htmlspecialchars($_SESSION['pseudo']);?></h2>
<object type=text/html"
class="affichage"
style="width:700px;height:400px;"
data="affichage.php#bottom">
</object>
<object type="text/html"
class="affichage"
style="width:200px;height:400px;"
data="present.php">
</object>
<form action="envoi.php"method="post">
<input type="text"name="message"size="100"></textarea>
<input type="submit"value="Envoyer"/>
</form>
<p align="center" class=image">
<a href="http://validator.w3.org/check?uRi=referer">
<img src="http://www.w3.org/Icons/valid-xhtml11"
alt="Valid XHTML 1.1"height="31" width="88"/>
</a>
<a class="right" href="http://jigsaw3.org/css-validaror/">
<img src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!"height="31"width="88"/>
</a>
</p>
</div>
</body>
</html>