Código PHP:
<?php
if(isset($_POST["name"]) && isset($_POST["email"]) && isset($_POST["comments"]) ){
$fecha = date("D-M-y H:i");
$mymail = "[email protected]";
$subject = "Free Quote";
$contenido .= "I am interested in a new: ".$_POST["interest"]."\n";
$contenido .= "Company: ".$_POST["company"]."\n";
$contenido .= "Contact name: ".$_POST["name"]."\n";
$contenido .= "Phone: ".$_POST["phone"]."\n";
$contenido .= "Fax: ".$_POST["fax"]."\n";
$contenido .= "Quantity: ".$_POST["quantity"]."\n";
$contenido .= "Date wanted by: ".$_POST["date wanted by"]."\n";
$contenido .= "Name: ".$_POST["name"]."\n";
$contenido .= "E-mail: ".$_POST["email"]."\n";
$contenido .= "Color information: ".$_POST["color"]."\n";
$contenido .= "List colors: ".$_POST["list colors"]."\n";
$contenido .= "Comments: ".$_POST["comments"]."\n";
$contenido .= "Date: ".$fecha;
$header = "From:".$_POST["email"]."\nReply-To:".$_POST["email"]."\n";
$header .= "X-Mailer:PHP/".phpversion()."\n";
$header .= "Mime-Version: 1.0\n";
$header .= "Content-type: text/plain";
mail($mymail, $subject, utf8_decode($contenido) ,$header);
include "http://digicapmedia.com/creaartworks/en/contact.php?id=confirmation";
}
?>
Código PHP:
<form action='send.php' method='post' onsubmit='return validate(MyForm)' name='MyForm'>
Código PHP:
include "http://digicapmedia.com/creaartworks/en/contact.php?id=confirmation";
¿¿Qué pasa??
Gracias--