Escribe tu Mensaje:
if ($message)
{
/* uncomment the next two lines to strip out html from input */
/* $name = strip_tags($name); */
/* $message = strip_tags($message); */
$message = ereg_replace("\r\n\r\n", "\n ", $message);
$date = date("l, F j Y, h:i a");
$message = "Nombre: $nombre Correo: $correo Fecha: $date $message
";
$fp = fopen (basename($PHP_SELF) . ".txt", "a");
fwrite ($fp, $message);
fclose ($fp);
$aviso = "TU MENSAJE A SIDO ENVIADO";
print "";
}
?>
|