Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/06/2008, 11:32
maryj
 
Fecha de Ingreso: febrero-2008
Mensajes: 4
Antigüedad: 16 años, 2 meses
Puntos: 0
AYUDA con determinar el lenguaje de un formulario flash

Hola:
Por dios pido si alguien pudiera ayudarme le estaria muy agradecida pq no hago mas que comerme la cabeza y no se que narices hago mal.
Tengo una web en flash creada, y dentro de esa web hay una pagina con formulario de contacto. segun las indicaciones que me dieron en el boton "enviar" tenia que añadir el siguiente actionscript:

url = "mail.php?";
url = url + "f_name=" + f_name;
url = url + "&f_phone=" + f_phone;
url = url + "&f_email=" + f_email;
url = url + "&f_text=" + f_text;
getURL(url,"_blank");

Despues crear un archivo que se llamara "mail.php" y poner tb este script cambiandolo por mi direccion de email:

<HTML>
<BODY>
<!-- START EMAIL CODE -->
<?
// the following code will send the email
// consult your web hosting provider in case of any problems
// you can copy & paste the code into your HTML page
// copy all code between <!-- START EMAIL CODE --> and <!-- END EMAIL CODE -->
// the form will work if published online
// it will not work from your local disk

// put your email address here
// the form will be sent to this email
$to = "[email protected]";


// use echo to display information after the user has submitted the form
echo"Thank you for your message";

//list all fields
echo"<br>Name: $_GET[f_name]\n";
echo"<br>Phone: $_GET[f_phone]\n";
echo"<br>Email: $_GET[f_email]\n";
echo"<br>Message: $_GET[f_text]\n";

echo"<br>\n";


//send the email: $mailtxt is the content of the email

$mailtxt ="This text will appear at the top of the email";

// use "\n" to add line breaks
$mailtxt .="\n";

$mailtxt .=" Name: $_GET[f_name]\n";
$mailtxt .=" Phone: $_GET[f_phone]\n";
$mailtxt .=" Email: $_GET[f_email]\n";
$mailtxt .=" Message: \n$_GET[f_text]\n";

$mailtxt .="\nThis text will appear at the bottom of the email\n";

$subject = "Put your subject here";
$headers="From: Your name <" + $to + ">\r\n";

mail($to, $subject, $mailtxt, $headers);

?>
<!-- END EMAIL CODE -->
</BODY>
</HTML>

He colgado en mi servidor (que es iespana.es) el index.html, el .swf y el mail.php
pero no me llegan los formularios a mi correo, me podeis decir que hago mal?
MUCHAS GRACIAS.