Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/08/2008, 00:52
Avatar de RufioStill
RufioStill
 
Fecha de Ingreso: agosto-2008
Mensajes: 24
Antigüedad: 15 años, 8 meses
Puntos: 0
Necesito un que me ayuden a crear el archivo enviar_email.php ...

Hola , necesito ayuda urgente =( como seria el archivo php de este codigo? alguno me lo puede crear? se lo agradeceria mucho (es un formulario en flash pero me falta el archivo enviar_email.php y no se como crearlo) este es el codigo:

Código PHP:
// Action script...

 
 

 
 // [Action in Frame 171]

 
 
function enviar()

 
 {

 
     
trace (t_nombre.text);

 
     
datos_email.nombre t_nombre.text;

 
     
datos_email.email t_email.text;

 
     
datos_email.texto t_texto.htmlText;

 
     
datos_email.estado "";

 
     
datos_email.onLoad = function ()

 
     {

 
         
trace (this);

 
         
trace (this.estado);

 
         if (
this.estado == "enviado")

 
         {

 
             
gotoAndStop(222);

 
         }

 
         else

 
         {

 
             
gotoAndStop(223);

 
         } 
// end else if

 
     
};

 
     
datos_email.sendAndLoad("enviar_email.php"datos_email"post");

 
     
gotoAndStop(221);

 
 } 
// End of the function

 
 

 
 
System.useCodepage false;

 
 if (
datos_email == null)

 
 {

 
     
datos_email = new LoadVars();

 
     
datos_email.nombre "";

 
     
datos_email.email "";

 
     
datos_email.texto "";

 
     
datos_email.estado "";

 
 } 
// end if

 
 
t_nombre.text datos_email.nombre;

 
 
t_email.text datos_email.email;

 
 
t_texto.htmlText datos_email.texto;

 
 
this.b_enviar.onPress enviar;

 
 
stop ();

 
 

 
 
stop ();

 
 

 
 
// [Action in Frame 220]

 
 
stop ();

 
 

 
 
// [Action in Frame 222]

 
 
this.b_enviar.onPress = function ()

 
 {

 
     
gotoAndStop(1);

 
 };

 
 
stop ();

 
 

 
 
// [Action in Frame 223]

 
 
this.b_enviar.onPress = function ()

 
 {

 
     
gotoAndStop(1);

 
 };

 
 
stop (); 
PD: soy nuevo en esto si no va aqui disculpa =(, ojala me ayuden