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
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>