#########################################################
# ContactForm #
#########################################################
# #
# Created by: Doni Ronquillo #
# Modified by: CodeMunkyX #
# #
# This script and all included functions, images, #
# and documentation are copyright 2003 #
# free-php.net (http://free-php.net) unless #
# otherwise stated in the module. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
#########################################################
include('inc/config.inc');
include($script_dir . '/inc/header.php');
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$who = $_POST['who'];
$subjectheader = $_POST['subjectheader'];
$subject = $_POST['subject'];
$msg2 = $_POST['msg'];
$email = $_POST['email'];
mail("$adminemail[$who]", "$subjectheader $subject", "$msg2", "From: $email \nReply-To: $email");
if ($redirecturl != "") {
header("Location: $redirecturl");
} else {
echo "