Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/06/2008, 10:48
San TATO
 
Fecha de Ingreso: febrero-2004
Mensajes: 64
Antigüedad: 20 años, 2 meses
Puntos: 0
Problema con Form y PHP

hola, tengo un problema con un formulario que al clickear en enviar me manda todos los datos a mi mail por php.

El mail me llega barbaro... pero el contenido, me llega asi:

El siguiente mail fue enviado el 03.06.2008 a las 16:58:01:
----------------------------------------------------------------------------
Name: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">Santiago TATO 2222</FONT></P></TEXTFORMAT>

Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">lkjlk</FONT></P></TEXTFORMAT>

Company: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">lkj</FONT></P></TEXTFORMAT>

Phone: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">lkjlkj</FONT></P></TEXTFORMAT> City: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">lkjl</FONT></P></TEXTFORMAT>

State: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">kjlk</FONT></P></TEXTFORMAT>

Zip: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">jlkjl</FONT></P></TEXTFORMAT>

----------------------------------------------------------------------------

Message: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"10\" COLOR=\"#601F13\" LETTERSPACING=\"0\" KERNING=\"0\">kjlkjk</FONT></P></TEXTFORMAT>



porque puede ser?

el codigo del boton enviar es el siguiente:

Código:
on (release) {
	if (names != "" and email != "" and company != "" and phone !="" and addres !="" and city !="" and states !="" and zip !="" and messages !="") {
		loadVariables("form.php", "_root", "POST");
	    gotoAndPlay("salida");
	} else {
		gotoAndPlay("salida2")
	}
}

y el php tiene el siguiente codigo:

Código:
<?php
#
$names = $_POST['names'];
$email = $_POST['email'];
$company = $_POST['company'];
$phone = $_POST['phone'];
$city = $_POST['city'];
$states = $_POST['states'];
$zip = $_POST['zip'];
$messages = $_POST['messages'];
$MailTo="ACA PUSE MI MAIL";
#
# Formating Date   ############################################################
#
$nowDay=date("d.m.Y");
$nowClock=date("H:i:s");
#
# Formating Body content ######################################################
#
$FormContent="
Day:$nowDay\n
Time:$nowClock:\n\n
----------------------------------------------------------------------------\n
Name: $names\n
Email: $email\n
Company: $company\n
Phone: $phone\n
City: $city\n
State: $states\n
Zip: $zip\n
----------------------------------------------------------------------------\n
Message: $messages\n
";
#
#
mail($MailTo, "$Subject (Web Form)", $FormContent, "From: $email");
#
#


Si alguien me puede ayudar a ver cual es el error , se los agradeceria mucho.

Espero su respuesta, gracias!