si ça peut vous aider à m'aider voilà le source
ah oui, je voulais savoir comment éviter l'antislash avant les caractères spéciaux ?
la page de post
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#415893">
<form method="post" action="addnews.php3">
<div align="center">
<table width="75%" border="1" bordercolor="#00025">
<tr>
<td width="43%" align="center"><input type="text" name="date" value="06/05/2001"></td>
<td width="12%"> </td>
<td width="45%" align="center"><input type="text" name="heure" value="00h00"></td>
</tr>
<tr>
<td colspan="3" height="213" align="center"><textarea name="news" cols="40" rows="15"></textarea></td>
</tr>
<tr>
<td width="43%"> </td>
<td width="12%">
<div align="center"><input type="submit" value="poster"></div>
</td>
<td width="45%"> </td>
</tr>
</table>
</div>
</form>
</body>
</html>
---------------------------------------
le source de addnews.php3
<?
$fp = fopen("news/date.txt","r+" );
fputs("$fp","$date" );
fclose("$fp" );
$fp2 = fopen("news/heure.txt","r+" );
fputs("$fp2","$heure" );
fclose("$fp2" );
$fp3 = fopen("news/news.txt","r+" );
fputs("$fp3","$news" );
fclose("$fp3" );
?>
-----------------------------------------
et le source de l'affichage de news
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form method="post" action="addnews.php3">
<div align="center">
<table width="100%" border="0">
<tr>
<td width="43%" align="center"><? $affdate = fopen("news/date.txt","r" );
$donnees = fgets($affdate,255);
fclose($affdate);
print("<font face=\"verdana\" size=\"2\" color=\"white\"><b>$donnees</b></font>" );
?></td>
<td width="12%"> </td>
<td width="45%" align="center"><? $affheure = fopen("news/heure.txt","r" );
$donneesh = fgets($affheure,255);
fclose($affheure);
print("<font face=\"verdana\" size=\"2\" color=\"white\"><b>il est $donneesh</b></font>" );
?></td>
</tr>
<tr>
<td colspan="3" height="213" align="center"><? $affnews = fopen("news/news.txt","r" );
$donneesn = fgets($affnews,255);
fclose($affnews);
print("<font face=\"verdana\" size=\"2\" color=\"white\"><b>$donneesn</b></font>" );
?></td>
</tr>
<tr>
<td width="43%"> </td>
<td width="12%"> </td>
<td width="45%">Djall</td>
</tr>
</table>
</div>
</form>
</body>
</html>