Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/12/2007, 23:23
Avatar de Polu
Polu
 
Fecha de Ingreso: febrero-2003
Mensajes: 135
Antigüedad: 21 años, 2 meses
Puntos: 0
Problemas con ñ y acentos en un formulario.

Hola,
¿Alguien sabe qué tengo que añadirle a este código para recibir los datos que me llegan a mi correo con ñ y acentos?
Gracias.
Un saludo.
[email protected]




<?


$headers = "Content-type: text/html\nFrom: [email protected]\n";

$fecha = time ();
$LaFecha = strftime("%Y-%m-%d");
$LaHora = date ( "h:i:s" , $fecha );

$Cabecera = '

<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<strong>
|||HOTELDONGONZALO.COM|||
</strong>
<br>
<br>

Datos de la petición:<br>
----------------------------------------------------------------
<br><br><br><br>
Motivo del mensaje:...... ' . $_POST["title"] . ' <br>
Nombre:....................... ' . $_POST["name"] . ' <br>
Telefono:...................... ' . $_POST["telefono"] . ' <br>
E-mail:......................... ' . $_POST["email"] . ' <br>
Comentarios:................ ' . $_POST["comments"] . ' <br>
<br><br><br><br>


----------------------------------------------------------------
<a href = "mailto:' . $_POST["correo"] . '">' . $_POST["correo"] . '</a> <br>
texto insertado: ' . $_POST["tectocon"] . ' <br><br>
Realizada con Fecha ' . strftime("%d-%m-%Y") . ' a las ' . date ( "h:i:s" , $fecha ) . '
<br><br>
Comentario o sugerencia:' . ' <br> ' .
$_POST["tectocon"] . '
<br><br>
</font>

';
@mail ("$correo", "CONTACTO |||HOTELDONGONZALO.COM|||",$cabecera,$headers);
@mail ("[email protected]","CONTACTO |||HOTELDONGONZALO.COM|||",$Cabecera,$headers);





?>