Intenta extraerlo de mi codigo.
<title>TagBoard v1.6 by Erik - Areaefo.Es</title>
<?php
error_reporting(0);
$mensajes = "mensajess.php";
?>
<?php
error_reporting(0);
$mensaje = $_POST['mensaje'];
$nick = $_POST['nick'];
$mensaje_total = htmlentities($mensaje);
$nick_total = htmlentities($nick);
if($mensaje_total != ''){
if($fp = fopen($mensajes, "a.")){
fwrite($fp, stripslashes('<b>'));
fwrite($fp, stripslashes($nick_total).': ');
fwrite($fp, stripslashes('</b>'));
fwrite($fp, stripslashes($mensaje_total).'<br><br>');
}
fclose($fp);
}
$fp = fopen($mensajes, "r");
fclose($fp);
echo '<iframe marginwidth="2" marginheight="2" src="mensajess.php" frameborder="2" width="200" height="300"></iframe>';
echo '<form action="tagboardantihack.php" method="POST"><input type="text" value="tunick" name="nick"><br><textarea name="mensaje" size="20">'.$contenido.'</textarea> <br> <input type="Submit" value="Comentar"><input type="button" value="Actualizar" onClick="javascript:history.go(0)"></form><a href="admin.php"><input type="button" value="Administración"></a>';
echo '<br><a href="http://www.areaefo.es">Creado por Erik - Areaefo</a>';
?>