IT.COM

PHP Formail

Spaceship Spaceship
Watch

Mystic

Account Closed
Impact
8
this is the simplest i seen, submit your forms to "thankyou.php" or whatever, make it a thankyou message for submitting a form, and use this code:

submit a standard html file to this, its easy :D

PHP:
 <SCRIPT LANGUAGE="php">
    $email = $HTTP_POST_VARS[email];
    $mailto = "[email protected]";
    $mailsubj = "Form submission";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS)) {
        $mailbody .= "$key : $val\n"; }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
 </SCRIPT>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
it helps beginner to start better. Little script looks good.
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back