Ver Mensaje Individual
  #10 (permalink)  
Antiguo 05/02/2005, 18:29
Avatar de FuLaNo_
FuLaNo_
 
Fecha de Ingreso: mayo-2003
Ubicación: Don Torcuato, Buenos Aires, Argentina
Mensajes: 1.250
Antigüedad: 20 años, 10 meses
Puntos: 2
Has algo así

Código PHP:
<? 
$asunto 
"Aca pone el ASunto del email"
$mensaje 
<html> 
<head> 
<title>EL TITULO QUE QUIERAS</title> 
</head> 
<body> 
<p><font size="2" face="Verdana">Nombre: <b>'
.$_POST['nombre'].'</b></font></p> 
<p><font size="2" face="Verdana">eMail: <b>'
.$_POST['mail'].'</b></font></p> 
<p><font size="2" face="Verdana">Curso: <b>'
.$_POST['curso'].'</b></font></p> 
</body> 
</html> 
'

$email="[email protected]"
$cabeceras  "MIME-Version: 1.0\r\n"
$cabeceras .= "Content-type: text/html; charset=iso-8859-1\r\n"
$cabeceras .= "From: ".$_POST['nombre']." <".$_POST['mail'].">\r\n"
mail($email$asunto$mensaje$cabeceras);
echo 
'
<center> Gracias por tu consulta </center>
<META HTTP-EQUIV="Refresh" content = "3; URL=tupagina.html">
'
;

?>
cambia el tupagina.html por la pagina a la que quieras que se redireccione (en teoria, el home del sitio). Eso hace que salga un "gracias por tu consulta" y se redireccione automaticamente a los 3 segundos...

PD: copia el codigo tal cual lo puse, ahi corregui el error de la linea 18 que te mandaba, habia puesto dos $$ ;P.
__________________
I Love Programming...