Comunidad de diseño web y desarrollo en internet online

Formulario!!!!!!!

Citar            
MensajeEscrito el 04 Jun 2006 10:42 pm
Nesecito la ayuda de todos los capos que hay por aca.....

tengo un formulaio en flash y parece que funciona bien pero creo que lo que no funciona bien es el PHP de todas formas yo les dejo los dos archivos para que ustedes lo vean por su propia cuenta y me digan cual es el error.......

Gracias :)

http://egdesing.iespana.es/Form.zip

Por Zis

Claber

314 de clabLevel

1 tutorial

Genero:Masculino  

Bell Ville - Cordoba - Argentina

firefox
Citar            
MensajeEscrito el 04 Jun 2006 11:24 pm
si posteás tu código te responderán mas rápido.

Por Mariux

BOFH

7756 de clabLevel

28 tutoriales
15 articulos

Genero:Femenino   Héroes Editores

Diseñadora & ilustradora

firefox
Citar            
MensajeEscrito el 04 Jun 2006 11:32 pm
este es el codigo del .fla todo el codigo esta ubicado en el primer fotograma (y el boton enviar solo tiene la funcion enviar();)

Código :

enviar = function () {
   if (Nombre.text.length && Email.length && Telefono.length && Comentarios.length && Opinion.length) {
      if (Email.text.indexOf("@") != -1 && Email.text.indexOf(".") != -1) {
         form_lv = new LoadVars();
         form_lv.nombre = Nombre.text;
         form_lv.mail = Email.text;
         form_lv.telefono = Telefono.text;
         form_lv.opinion = Opinion.text;
         form_lv.comentario = Comentarios.text;
         form_lv.sendAndLoad("http://miderreccion/send.php", form_lv, "POST");
         EmailStatus.text = "Enviando Mensaje..";
         Nombre.text = "";
         Email.text = "";
         Telefono.text = "";
         Comentarios.text = "";
         Opinion.text = "";
         form_lv.onLoad = function() {
            if (this.estatus == "ok") {
               textos.text = "Mensaje Enviado...";
               Nombre.text = "";
               Email.text = "";
               Telefono.text = "";
               Comentarios.text = "";
               Opinion.text = "";
            } else {
               textos.text = "Error de Envio";
            }
         };
      } else {
         textos.text = "Correo Invalido";
      }
   } else {
      textos.text = "Dato Necesario";
      textos.text = "Dato Necesario";
      textos.text = "Dato Necesario";
      textos.text = "Dato Necesario";
      textos.text = "Dato Necesario";
   }
};



y este es el codigo del PHP:

Código :

<?php
         
if(isset($_POST["nombre"]) && isset($_POST["mail"]) isset($_POST["telefono"]) isset($_POST["opinion"]) isset($_POST["comentario"]) ){
            
$fecha = date("d-M-y H:i");
            
$mymail = "[email protected]";
            
$subject = "Desde el Sitio DE PRUEVA";
            
$contenido = $_POST["nombre"]." Escribio :\n";
            
$contenido .= $_POST["comentario"]."\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&";
            
}
            
?>


espero que me respondan :)

Por Zis

Claber

314 de clabLevel

1 tutorial

Genero:Masculino  

Bell Ville - Cordoba - Argentina

firefox
Citar            
MensajeEscrito el 04 Jun 2006 11:50 pm
prueba solo el php y mira los errores que te genera ;)

saludos

Por Maikel

BOFH

5575 de clabLevel

22 tutoriales
5 articulos

Genero:Masculino   Team Cristalab

Claber de baja indefinida

firefox
Citar            
MensajeEscrito el 05 Jun 2006 12:10 am
gracias por responder... ya coregi los errores del PHP pero cuando quiero enviar los datos del formularios no los envia dice que el envio fue exitoso y no me llega ningun mail a mi casilla ¿QUE HAGO?¿?¿?¿?¿? PLISSSSS ayudenme :(

Por Zis

Claber

314 de clabLevel

1 tutorial

Genero:Masculino  

Bell Ville - Cordoba - Argentina

firefox
Citar            
MensajeEscrito el 05 Jun 2006 12:34 am
verifica con tu compañia de hosting si tiene habilitada la funcion mail...

saludos

Por Maikel

BOFH

5575 de clabLevel

22 tutoriales
5 articulos

Genero:Masculino   Team Cristalab

Claber de baja indefinida

firefox
Citar            
MensajeEscrito el 05 Jun 2006 12:37 am
cree un archivo php para probar la funcion mail..... pero no me llega ningun mail ¿¿¿¿se supone que esta desabilitada??????

:)

Por Zis

Claber

314 de clabLevel

1 tutorial

Genero:Masculino  

Bell Ville - Cordoba - Argentina

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.