Jump to content

ayuda con formulario flash y php porfavorrrrrr


Recommended Posts

necesito ayuda en un template flash que baje, y bueno funciona todo bien, excepto la parte del formulario que he cambiado en donde dicen en inet y no pasa nada, aparece que el mensaje ha sido enviado pero no llega nada T.T, por ello espero no te moleste si envio el codigo y me puedas explicar donde hay que cambiar porfavor.

el otro detalle es que lo estoy haciendo de manera local en mis documetos trabajo flash, instale el xampp y deje la carpeta en htdocs y la modifique tambien hay y no paso nada, los modulos estan todos activos, la verdad no se que más hacer o que errorazo tengo, please help me.

aqui va el codigo

 

BOTON ENVIAR EN LA PLANTILLA FLASH

 

on (rollOver) {

this.gotoAndPlay("s1");

}

on (releaseOutside, rollOut) {

this.gotoAndPlay("s2");

}

 

 

 

on (release) {

for (i=1; i<_parent.fields_descriptions.length; i++) {

if (_parent[_parent.fields_descriptions[1]]!=_parent) {

this[_parent.fields_descriptions[1]]=_parent[_parent.fields_descriptions[1]]+"&777&"+_parent.fields_descriptions[2];

}

 

}

 

this.recipient=_parent.rec;

i=_parent;

getURL("contact."+_parent.serv, "_blank", "POST");

 

 

 

//cambie "contact." por .php & asp y no paso nada//

 

 

 

 

ARCHIVO PHP

 

<?

Error_Reporting(E_ALL & ~E_NOTICE);

 

while ($request = current($_REQUEST)) {

if (key($_REQUEST)!='yokoshima_tm@hotmail.com') {

$pre_array=split ("&777&", $request);

$post_vars[key($_REQUEST)][0]=$pre_array[0];

$post_vars[key($_REQUEST)][1]=$pre_array[1];

}

next($_REQUEST);

}

 

 

 

reset($post_vars);

 

 

$subject="From ".$post_vars['your_name'][0] ;

$headers= "From: ".$post_vars['your_email'][0] ."\n";

$headers.='Content-type: text/html; charset=iso-8859-1';

$message='';

while ($mess = current($post_vars)) {

if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {

 

$message.="<strong>".$mess[1]."</strong>   ".$mess[0]."<br>";

}

next($post_vars);

}

 

mail($_REQUEST['yokoshima_tm@hotmail.com'], $subject, "

<html>

<head>

<title>Contact letter</title>

</head>

<body>

<br>

".$message."

</body>

</html>" , $headers);

echo ("SU MENSAJE HA SIDO ENVIADO CON EXITO!");

 

?>

<script>

resizeTo(300, 300);

</script>

 

 

//AQUI CAMBIE EL RECIPIENT POR EL MAIL Y NO PASO NADA

 

 

 

 

 

ARCHIVO ASP

 

 

 

<%

for i=1 to 7

message=Request("message")

next

message=message + Request("message")

smtpServer = "pop.gmail.com"

smtpPort = 995

 

 

name = Request("Your_Name:")

Set myMail = CreateObject("CDO.Message")

myMail.Subject = "from " & name

myMail.From = Request("Your_Email:")

myMail.To = Request("yokoshima.tm@gmail.com")

myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"

myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer

myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort

myMail.Configuration.Fields.Update

myMail.Send

 

%>

 

 

//AQUI CAMBIE EL SERVIDOR DE SMTP Y EL PUERTO Y NO ME HA FUNCIONADO NINGUNO.

 

 

PORFAVOR NECESITO AYUDA PASO POR PASO INCLUSO SI ESQUE HAY QUE DEJAR LA CARPETA EN OTRO LUGAR, SOY NOVATO EN ESTO

 

 

AGRADEZCO DE ANTEMANO TU AYUDA Y TIEMPO.

SALUDOS Y GRACIAS NUEVAMENTE

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...