Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Form contatti php per sito web in flash

    Salve a tutti!
    non sono molto pratico in php,quindi vi chiedo aiuto!
    ho preso dal web un template in flash as2,c'è un file txt dove posso modificare alcuni parametri del sito,ma nella sezione email del file mi ritrovo scritto
    codice:
        &mail_file=mail.php&
    il file mail.php non è compreso nel template,ma aprendo il file FLA l'action layer del form ha questo codice:
    Codice PHP:
        function ckform()     {         apos t2.htmlText.indexOf("@");         dotpos t2.htmlText.lastIndexOf(".");         pos dotpos apos;         if (pos 1)         {             tmp 1;         } // end if         if (pos < 2)         {             tmp = 0;         } // end if         trace (tmp);         txt2.htmlText = "";         if (t1.htmlText == "")         {             txt2.htmlText = "NAME IS REQUIRED.";         }         else if (t2.htmlText == "")         {             txt2.htmlText = "";             txt2.htmlText = "E-MAIL IS REQUIRED.";         }         else if (tmp == 0)         {             txt2.htmlText = "";             txt2.htmlText = "WRONG E-MAIL.";         }         else if (t3.htmlText == "")         {             txt2.htmlText = "";             txt2.htmlText = "TELEPHONE IS REQUIRED.";         }         else if (t4.htmlText == "")         {             txt2.htmlText = "";             txt2.htmlText = "MESSAGE IS REQUIRED.";         }         else         {             this.loadVariables(_root.mail_file, "POST");         } // end else if     } // End of the function     function ckfull(textObj)     {         TextInfo = "EXIT FULL-SCREEN MODE (ESC) TO ENTER TEXT";         if (Stage["displayState"] == "normal")         {             textObj.htmlText = "";         } // end if         if (Stage["displayState"] == "fullScreen")         {             textObj.htmlText = TextInfo;         } // end if     } // End of the function     this.onEnterFrame = function ()     {         this.ckfull(this.txt1);     };        t1.tabIndex = 1;     t2.tabIndex = 2;     t3.tabIndex = 3;     t4.tabIndex = 4; 
    cosa posso mettere nel file mail.php?
    grazie!!

  2. #2

  3. #3
    nessuno sa aiutarmi??

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.