<?
ini_set("sendmail_from", " [email protected] "); //configure this to you
//LoadVar_Mailform for Koolmoves © 2006 Chris Seahorn (http://sandbox.blogdns.com//[email protected])
$fullname = $_POST["fullname"];
$lastname = $_POST["lastname"];
$email_addy = $_POST["email"];
$dob = $_POST["dob"];
$gbname = $_POST["gbname"];
$eseal = $_POST["eseal"];
$agree = $_POST["agree"];
$subject = $_POST["subject"];
$recipient = $_POST["recipient"];
$action = $_POST["action"];


$ip = $_SERVER['REMOTE_ADDR'];

$adminaddress = "[email protected]"; //configure this to you
$siteaddress ="your web address"; //configure this to you
$sitename = "Your Site Name"; //configure this to you

$date = date("m/d/Y H:i:s");

$action = $_POST["action"];


if ($action == "send") {
mail ("$adminaddress","A visitor has requested to join your clan\n",

From: $lastname, $fullname
eMail: $email_addy
GB Name: $gbname
eSeal name: $eseal
DOB: $dob

$agree, I agree to the clan rules and code of conduct.


Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
IP address: $ip
Date/Time: $date","FROM:$adminaddress" ) ;



//Confirmation is sent back to the Flash form that the process is complete

echo "&returnMe=thanks";



}


?>