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

<?php_track_vars?>
<?php // email request handler
// include configuration info
require("db.php3");
// setup the recipient and subject
$recipient = "request@olivebranchms.com";
//$recipient = "jimi@bullseyecomputing.com";
$subject = "Information Request";
$header = "From: request@olivebranchms.com";
// setup the message content
$message = "This message was automatically generated by the 'Request \n";
$message .= "More Info' form on the olivebranchms.com web site.\n\n";
// loop through the POST vars
while(list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key = $val\n";
}
// send the message
mail($recipient,$subject,$message,$header);
header("Location: http://$domain/page.php3?content=thankyou");
?>