Código:
y el php es así:stop(); fieldname = new Array(0, "nameField", "companyField", "addressField", "emailField", "phoneField", "mobileField", "faxField", "messageField"); awop = new Array(0, "nameField?", "companyField?", "addressField?", "emailField?", "phoneField?", "mobileField?", "faxField?", "messageField?");
Código:
El sistema funciona, pero a la hora de ver el mensaje en el correo aparece así:<?php //Los nombres de abajo tienen en coincidir con los de Flash include("global.inc.php"); $errors=0; $error="The following errors occurred while processing your form input.<ul>"; pt_register('POST','nameField'); pt_register('POST','emailField'); pt_register('POST','phoneField'); pt_register('POST','messageField'); if($errors==1) echo $error; else{ $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); // Useful if you need today's date: //$today = Time(); //$Date = date("y-m-d"); // Names below must match the names used used for your input boxes (fields) in Flash $message=" Enquiry Form: Name: ".$nameField." Email: ".$emailField." Phone: ".$phoneField." Message: ".$messageField." "; $message = stripslashes($message); // Fill in the details below for where you want the email to go to mail("XXX","Website Form Reply ",$message,"From: XXX"); } ?>
Enquiry Form:
Nombre: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="HelveticaNeueLT Std" SIZE="12" COLOR="#666666" LETTERSPACING="0" KERNING="0">alejo</FONT></P></TEXTFORMAT>
Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="HelveticaNeueLT Std" SIZE="12" COLOR="#666666" LETTERSPACING="0" KERNING="0">[email protected]</FONT></P></TEXTFORMAT>
Telefono: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="HelveticaNeueLT Std" SIZE="12" COLOR="#666666" LETTERSPACING="0" KERNING="0">4444444</FONT></P></TEXTFORMAT>
Mensaje: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="HelveticaNeueLT Std" SIZE="12" COLOR="#666666" LETTERSPACING="0" KERNING="0">probando mensaje</FONT></P></TEXTFORMAT>
Me aparece asi con los codigos : S alguna solucion para que no salga eso? :s