Search
Syndication
Sponsors

Can Somebody Explain Exactly How I Put The Php Form Handler In My Html Code?

or is it seperate and linked to the html code from another page. another thing is i don’t know php but only know i need this to get the email form working.

Related posts:

  1. How To Code A Simple Php Dynamic Dropdown Form Feild From Mysql? I been struggling with this all morning. I am tiring...
  2. Php - How To Store A Database Value From Html Feedback Form? Ok so if i make a feedback form which displays...
  3. Display ASP code on an HTML page Learn more about Display ASP code on an HTML page...
  4. I Have A Form In Php That I Need To Submit And Forward To A New Page At The Same Time? I have a php form that I need to submit...
  5. How To Direct Values From Php Textboxes In A Form To A Email Account? I have a web form at designed in php. Can...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , , ,

6 Responses to “Can Somebody Explain Exactly How I Put The Php Form Handler In My Html Code?”

  1. princeex Says:

    The simple way is just need to make a form (inside a something.html) for posting the items´s value and send those item´s value to another page(ie: email.php) through form method “POST” or “GET” But u should use to POST method. Once you got those values into email.php then just write this following below code.
    in calling file (something.html)


    in receiving file (email.php)
    variables: $_POST [ ' variablename ' ] )
    Build $headers, $subject, $message, $to
    $res = mail ($to, $subject, $message, $headers);

  2. Aibrean Says:

    Please email me if you need more explanation.
    Typically the form action in the HTML links to the PHP that has the form processing information.

    The mailer.php is a generic thing I put there but it would be whatever you use (I use Jack’s formmail). The php file would be where you put the information relating to who the email gets delivered to and the message a user gets when they fill out the form.
  3. just "JR" Says:

    Two ways: the simple one for amateurs and the complex one for professionals (much more efficient).
    SIMPLE:


    mailto:… find details in w3schools.com
    COMPLEX:
    in calling file (something.html)


    in receiving file (email.php)
    treat the data from the form (variables: $_POST [ ' variablename ' ] )
    Build $headers, $subject, $message, $to
    $res = mail ($to, $subject, $message, $headers);
    for more details: http://www.php.net, search “mail” in functions.
    It get more complex to add file uploads, attachments etc…

  4. hands.ad Says:

    usually apache is configured to process php in pages that end with “.php”. those pages can contain plain html too. if you want to run the php handler on a page that ends in “.html”, there are ways to do that too, but i don’t know if that’s what your after.

  5. Mark V Says:
    Name:

    Email:

    There’s a basic Email form for yah, not sure where you were getting at

  6. neodraco Says:

    It goes something like this:
    < ?php (php code or filename of php page)>

Leave a Reply

Translate
Links

Tags