Código HTML:
<?php $username = $_COOKIE['loggedin']; ?> <script languaje="Javascript"> <!-- function Smile(texto){ document.form.mensaje.value = document.form.mensaje.value + texto; } // --> </script> <form method="post" name="form" action="enviar_privados2.php"> <input type=hidden name=de value=<? echo $username; ?>> <table align=center bgcolor=black width=350 cellspacing=1 cellpadding=3> <tr> <td bgcolor=#c4dBFB width="55"><font size="2"><b><font face="Verdana">De:</font></b></font></td> <td bgcolor=#e8edf2 width="268"><? echo "<font face=Tahoma size=2> <b>$username</b> - $REMOTE_ADDR"; ?></td> </tr> <tr> <td bgcolor=#E6EBFB width="55"><font face=Tahoma size=2><b>Para:</b></font></td> <td bgcolor=#e8edf2 width="268"> <input type=text name=para style="Font-size= 8pt; Font-Face=Tahoma" size="24"> </td> </tr> <tr> <td bgcolor=#c4dBFB width="55"><font face=Tahoma size=2><b>Titulo:</b></font></td> <td bgcolor=#e8edf2 width="268"> <input type=text name=asunto style="Font-size= 8pt; Font-Face=Tahoma" size="24" maxlength="255"> </td> </tr>