Ver Mensaje Individual
  #13 (permalink)  
Antiguo 07/10/2008, 19:55
chuekeron
 
Fecha de Ingreso: octubre-2008
Ubicación: Bs. As., ARG
Mensajes: 203
Antigüedad: 15 años, 7 meses
Puntos: 6
Respuesta: Ayuda con contacto+php

<?php
$nombre = $_POST['text1'];
$mail = $_POST['text2'];
$asunto = $_POST['text3'];
$header = 'From: ' . $mail . " \r\n";
$header .= "X-Mailer: PHP/" . phpversion() . " \r\n";
$header .= "Mime-Version: 1.0 \r\n";
$header .= "Content-Type: text/plain";
$mensaje = "Este mensaje fue enviado por " . $nombre . ", asunto " . $asunto . " \r\n";
$mensaje .= "Su e-mail es: " . $mail . " \r\n";
$mensaje .= "Mensaje: " . $_POST['textarea1'] . " \r\n";
$mensaje .= "Enviado el " . date('d/m/Y', time());
$para = '[email protected]';
$asunto = 'Contacto desde WebSite';
mail($para, $asunto, utf8_decode($mensaje), $header);
echo '&amp;estatus=ok&amp;';
?>

NO TE ENOJES JAVISTA, ES Q EN EL CURSO Q ME DIERON NO ME EXPLICARON LA PARTE DE PHP. EL PHP QUEDO ASI, AHORA CUANDO PONGO ENVIAR ME ARROJA LO SIGUIENTE:

&estatus=ok&