Olive Branch MS Chamber of Commerce (circa Oct 1999)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

20 lines
725 B

  1. <?php_track_vars?>
  2. <?php // email request handler
  3. // include configuration info
  4. require("db.php3");
  5. // setup the recipient and subject
  6. $recipient = "request@olivebranchms.com";
  7. //$recipient = "jimi@bullseyecomputing.com";
  8. $subject = "Information Request";
  9. $header = "From: request@olivebranchms.com";
  10. // setup the message content
  11. $message = "This message was automatically generated by the 'Request \n";
  12. $message .= "More Info' form on the olivebranchms.com web site.\n\n";
  13. // loop through the POST vars
  14. while(list($key, $val) = each($HTTP_POST_VARS)) {
  15. $message .= "$key = $val\n";
  16. }
  17. // send the message
  18. mail($recipient,$subject,$message,$header);
  19. header("Location: http://$domain/page.php3?content=thankyou");
  20. ?>