Help with my HTML contact form please
here is the code ( i think it gots something todo with the echo t the end maybe? thanks to all
<?php $nombre = $_POST['nombre']; $mail = $_POST['mail']; $empresa = $_POST['empresa']; $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 . ", de la empresa " . $empresa . " \r\n"; $mensaje .= "Su e-mail es: " . $mail . " \r\n"; $mensaje .= "Mensaje: " . $_POST['mensaje'] . " \r\n"; $mensaje .= "Enviado el " . date('d/m/Y', time()); $para = 'example@mail.com'; $asunto = 'Email title'; mail($para, $asunto, utf8_decode($mensaje), $header); echo 'Message sent correctly'; ?>
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods
Follow me on Twitter - @DineroConPc
I talk about Affiliate Marketing Methods