Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Red face Posting Forms

    Dear Guys,

    I am so sorry but I am a very old-school guy who can only work flash and html.

    I am trying to create a message form page with flash but I don't know .cgi extension of the cPanel server. I found a guy who made this with .php but I couldn't succeed to modify it. I am sending my "send button" flash actionscript and .php text of that guy. Please tell me what to do, or if there is easier way, feel comfortable to be like explaining to an idiot

    http://endulusvizyon.com/input.jpg

    Code:
    label_01 = "Your Message";
    label_02 = "Your Name";
    label_03 = "Your E-Mail";
    text1 = label_01;
    text2 = label_02;
    text3 = label_03;
    this.onEnterFrame = function ()
    {
        text_field_1.onSetFocus = function ()
        {
            if (text1 == label_01)
            {
                text1 = "";
            } // end if
        };
        text_field_1.onKillFocus = function ()
        {
            if (text1 == "")
            {
                text1 = label_01;
            } // end if
        };
        text_field_2.onSetFocus = function ()
        {
            if (text2 == label_02)
            {
                text2 = "";
            } // end if
        };
        text_field_2.onKillFocus = function ()
        {
            if (text2 == "")
            {
                text2 = label_02;
            } // end if
        };
        text_field_3.onSetFocus = function ()
        {
            if (text3 == label_03)
            {
                text3 = "";
            } // end if
        };
        text_field_3.onKillFocus = function ()
        {
            if (text3 == "")
            {
                text3 = label_03;
            } // end if
        };
    };
    http://endulusvizyon.com/send.jpg

    Code:
    on (release) {
    	if (subject eq "" or  from eq "" or message eq "" ) {
    		stop();
    	} else {
    		lineAdapt();
    		loadVariablesNum("mail.php3", 0, "POST");
                 }
    }
    PHP

    PHP Code:
    <?php
    mail
    ("kaz_aam@yahoo.com"$subject"From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/"$message phpversion());
    ?>

    Thanks for your help guys!!!
    Last edited by Flashbond; 07-13-2009 at 04:17 AM.

  2. #2
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Default

    any help please?

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Red face Posting Form Problem

    Dear Guys,

    I am so sorry but I am a very old-school guy who can only work flash and html.

    I am trying to create a message form page with flash but I don't know .cgi extension of the cPanel server. I found a guy who made this with .php but I couldn't succeed to modify it. I am sending my "send button" flash actionscript and .php text of that guy. Please tell me what to do, or if there is easier way, feel comfortable to be like explaining to an idiot

    http://www.endulusvizyon.com/input.jpg

    Code:
    label_01 = "Your Message";
    label_02 = "Your Name";
    label_03 = "Your E-Mail";
    text1 = label_01;
    text2 = label_02;
    text3 = label_03;
    this.onEnterFrame = function ()
    {
    text_field_1.onSetFocus = function ()
    {
    if (text1 == label_01)
    {
    text1 = "";
    } // end if
    };
    text_field_1.onKillFocus = function ()
    {
    if (text1 == "")
    {
    text1 = label_01;
    } // end if
    };
    text_field_2.onSetFocus = function ()
    {
    if (text2 == label_02)
    {
    text2 = "";
    } // end if
    };
    text_field_2.onKillFocus = function ()
    {
    if (text2 == "")
    {
    text2 = label_02;
    } // end if
    };
    text_field_3.onSetFocus = function ()
    {
    if (text3 == label_03)
    {
    text3 = "";
    } // end if
    };
    text_field_3.onKillFocus = function ()
    {
    if (text3 == "")
    {
    text3 = label_03;
    } // end if
    };
    };
    http://www.endulusvizyon.com/send.jpg

    Code:
    on (release) {
    if (subject eq "" or from eq "" or message eq "" ) {
    stop();
    } else {
    lineAdapt();
    loadVariablesNum("mail.php3", 0, "POST");
    }
    }
    PHP

    Code:
    <?php
    mail("kaz_aam@yahoo.com", $subject, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/", $message . phpversion());
    ?>

    Thanks for your help guys!!!

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Red face Posting Form Problem

    Dear Guys,

    I am so sorry but I am a very old-school guy who can only work flash and html.

    I am trying to create a message form page with flash but I don't know .cgi extension of the cPanel server. I found a guy who made this with .php but I couldn't succeed to modify it. I am sending my "send button" flash actionscript and .php text of that guy. Please tell me what to do, or if there is easier way, feel comfortable to be like explaining to an idiot

    http://www.endulusvizyon.com/input.jpg

    Code:
    label_01 = "Your Message";
    label_02 = "Your Name";
    label_03 = "Your E-Mail";
    text1 = label_01;
    text2 = label_02;
    text3 = label_03;
    this.onEnterFrame = function ()
    {
    text_field_1.onSetFocus = function ()
    {
    if (text1 == label_01)
    {
    text1 = "";
    } // end if
    };
    text_field_1.onKillFocus = function ()
    {
    if (text1 == "")
    {
    text1 = label_01;
    } // end if
    };
    text_field_2.onSetFocus = function ()
    {
    if (text2 == label_02)
    {
    text2 = "";
    } // end if
    };
    text_field_2.onKillFocus = function ()
    {
    if (text2 == "")
    {
    text2 = label_02;
    } // end if
    };
    text_field_3.onSetFocus = function ()
    {
    if (text3 == label_03)
    {
    text3 = "";
    } // end if
    };
    text_field_3.onKillFocus = function ()
    {
    if (text3 == "")
    {
    text3 = label_03;
    } // end if
    };
    };
    http://www.endulusvizyon.com/send.jpg

    Code:
    on (release) {
    if (subject eq "" or from eq "" or message eq "" ) {
    stop();
    } else {
    lineAdapt();
    loadVariablesNum("mail.php3", 0, "POST");
    }
    }
    PHP

    Code:
    <?php
    mail("kaz_aam@yahoo.com", $subject, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/", $message . phpversion());
    ?>

    Thanks for your help guys!!!

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Flashbond View Post
    any help please?
    This forum is for system administrators and developers who are looking to extend the functionality of the cPanel software itself.

    Your issue would better be addressed by a PHP help forum since it is not a cPanel-specific issue. Feel welcome to do an internet search for "PHP help" to find some of these other forums.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ** Merged Multiple Duplicate Threads **

Similar Threads & Tags
Similar threads

  1. login forms
    By csutton in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-06-2008, 01:28 AM
  2. Email forms
    By mathew edison in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-30-2007, 01:01 PM
  3. Php forms
    By ankushdawar in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-12-2005, 04:34 PM
  4. forms with nobody disabled
    By amog_php in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-27-2005, 04:06 PM
  5. forms [move]
    By pach74 in forum New User Questions
    Replies: 2
    Last Post: 09-08-2005, 11:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube