Foros del Web » Creando para Internet » Flash y Actionscript »

Urgente

Estas en el tema de Urgente en el foro de Flash y Actionscript en Foros del Web. ........:(...why?...

  #31 (permalink)  
Antiguo 06/05/2009, 21:04
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Respuesta: Urgente

........:(...why?
  #32 (permalink)  
Antiguo 07/05/2009, 08:15
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Respuesta: Urgente

.........hola Diego..estas ahi?
  #33 (permalink)  
Antiguo 07/05/2009, 08:20
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Respuesta: Urgente

DIEGO ESTE ES EL CODIGO Q PUSE EN MI FLASH


Código:
enviar = function () 
{if (email_txt.text.length && nombre_txt.length && titulo_txt.length && mensaje_txt.length)
{if (email_txt.text.indexOf("@") != -1 && email_txt.text.indexOf(".") != -1)
{form_lv = new LoadVars();
form_lv.nombre = nombre_txt.text;form_lv.email = email_txt.text;
form_lv.mensaje = mensaje_txt.text;
form_lv.titulo = titulo_txt.text;
form_lv.sendAndLoad("http://www.eternaltattoo.com.pe/flor/send.php", form_lv, "POST");mensaje_txt.text = "Enviando Mensaje..";nombre_txt.text = "";email_txt.text = "";titulo_txt.text = "";form_lv.onLoad = function() {trace("LLEGO");if (this.estatus == "ok") {mensaje_txt.text = "Tu mensaje fue enviado...";nombre_txt.text = "";email_txt.text = "";titulo_txt.text = "";} 
else {mensaje_txt.text = "Problemas con el servidor\nIntentalo de Nuevo";}};} else {email_txt.text = "Correo Invalido";}} else {email_txt.text = "Dato Necesario";nombre_txt.text = "Dato Necesario";titulo_txt.text = "Dato Necesario";mensaje_txt.text = "Dato Necesario";}};
borrar = function () { nombre_txt.text = "";email_txt.text = "";mensaje_txt.text = "";titulo_txt.text = "";};
enviar_btn.onRelease = enviar;
borrar_btn.onRelease = borrar;

este es del php....

Código:
<?php
if(isset($_POST["nombre"]) && isset($_POST["titulo"]) && isset($_POST["mail"]) && isset($_POST["mensaje"]) ){
    $fecha = date("D-M-y H:i");
	$mymail = "[email protected]";
	$subject = "Desde el Sitio.. =)";
	$contenido = $_POST["nombre"]." Escribio :\n";
	$contenido .= $_POST["mensaje"]."\n\n";
	$contenido .= "el mensaje se escribio el ".$fecha;
	$header = "From:".$_POST["mail"]."\nReply-To:".$_POST["mail"]."\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);
	echo "&estatus=ok&";
}
?>
  #34 (permalink)  
Antiguo 07/05/2009, 08:21
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Exclamación Respuesta: Urgente

....pero quisiera saber xq tus datos me llegaron...derrepente hay algo q puse mal...xfa t agradeceria mucha tu ayuda...:(
  #35 (permalink)  
Antiguo 07/05/2009, 08:26
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Respuesta: Urgente

........alguien m podria ayudar...le agradeceria mucho...
  #36 (permalink)  
Antiguo 07/05/2009, 09:58
Avatar de Diegoazul  
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 17 años
Puntos: 67
Respuesta: Urgente

Escribe esto en tu php no cambies nada:

Código PHP:
<?php
if(isset($_POST["nombre"]) && isset($_POST["titulo"]) && isset($_POST["mail"]) && isset($_POST["mensaje"]) ){
    
$fecha date("D-M-y H:i");
    
$mymail "[email protected]";
    
$subject "Desde el Sitio.. =)";
    
$contenido $_POST["nombre"]." Escribio :\n";
    
$contenido .= $_POST["mensaje"]."\n\n";
    
$contenido .= "el mensaje se escribio el ".$fecha;
    
$header "From:".$_POST["mail"]."\nReply-To:".$_POST["mail"]."\n";
    
$header .= "X-Mailer:PHP/".phpversion()."\n";
    
$header .= "Mime-Version: 1.0\n";
    
$header .= "Content-Type: text/plain";
    
mail($mymail$subjectutf8_decode($contenido) ,$header);
    echo 
"&estatus=ok&";
}
?>
  #37 (permalink)  
Antiguo 08/05/2009, 15:33
 
Fecha de Ingreso: abril-2009
Mensajes: 62
Antigüedad: 15 años
Puntos: 0
Respuesta: Urgente

...no se q pasa xq puse todo como me dijiste...y nada....
  #38 (permalink)  
Antiguo 08/05/2009, 15:39
Avatar de Diegoazul  
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 17 años
Puntos: 67
Respuesta: Urgente

El archivo lo borraste?, da click http://www.eternaltattoo.com.pe/flor/send.php
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:22.