Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: HTML Help  (Read 15345 times)

0 Members and 1 Guest are viewing this topic.

nymph4

    Topic Starter


    Specialist

    Re: HTML Help
    « Reply #30 on: April 08, 2009, 11:42:37 AM »
    I just tryed to create a script

    <?php
    $email = $_request{'email'} ;
    $message = $_request{'message'} ;

    mail{ "[email protected]", "feedback form results",
    $message, "form: $email" };
    header{ "location: http://www.robertsargallery.com/thankyou.html" };
    ?>

    And I saved it as
    sendemail.php

    And I put it in my CGi Bin  and I was about to put a Form on my Page but when I clicked Submit nothing happened.

    Every Web Site I go to has one on these Forms that you can type your Camment or Q/A and you Click Submit.

    Is it really this hard or is it that I am not readding the correct Documentioj???

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: HTML Help
    « Reply #31 on: April 08, 2009, 03:22:15 PM »
    Try this:

    Code: [Select]
    <?php
    $email 
    $_REQUEST['email'] ;
    $message $_REQUEST['message'] ;

    mail("[email protected]""feedback form results",
    $message"from: $email");
    header("Location: http://www.robertsargallery.com/thankyou.html");
    ?>


    You just used the wrong brackets....... ;)

    nymph4

      Topic Starter


      Specialist

      Re: HTML Help
      « Reply #32 on: April 08, 2009, 06:15:17 PM »
      Thank you now can you give me the correct Form Code that I will put inbetween the BODY Tags??

      You know the code that has the Text Box and Submit Botton.