Ver Mensaje Individual
  #6 (permalink)  
Antiguo 23/04/2012, 16:23
Starmoca
 
Fecha de Ingreso: mayo-2009
Mensajes: 71
Antigüedad: 15 años
Puntos: 0
Respuesta: Redirección php

Lo he probado pero sigue sin redireccionar, la cosa esta así en el momento:

Código:
<?php 
// INGRESE EL EMAIL DONDE RECIBIRÁ LOS DATOS DEL FOMULARIO
$para = '[email protected], [email protected]'; 

$asunto = $_POST["Mail de Newmedia"]; 
$mailheader = "From: ".$_POST["email"]."\r\n"; 
$mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; 
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; 
$MESSAGE_BODY = "Nombre: ".$_POST["nombre"]."<br>"; 
$MESSAGE_BODY .= "Email: ".$_POST["mail"]."<br>"; 
$MESSAGE_BODY .= "Ubicación: ".$_POST["ciudad"]."<br>"; 
$MESSAGE_BODY .= "Telefono: ".$_POST["telefonos"]."<br>"; 
$MESSAGE_BODY .= "Mensaje: ".nl2br($_POST["mensaje"])."<br>"; 
if (mail($para, $asunto, $MESSAGE_BODY, $mailheader)){
	header("Location: http://www.newmediapublicidad.com/");
} else {
	echo "Error al enviar el Formulario !"; 
}
?>
Gracias a todos por la ayuda ;)