Username: $username\n
"
. "Firstname: $firstname\n
"
. "Lastname: $lastname\n
"
. "Email: $email\n
"
. "Refered By: $referedby\n
"
. "Comments: \n
"
. "$comments\n"
. "\n"
. "" . $_SERVER['HTTP_USER_AGENT'] . "\n"
. "$ClientIP\n"
. "\n"
. "\n"
. "";
$Header = "From: $From\n"
. "Reply-To: $From\n"
. "MIME-Version: 1.0\n"
. "Content-type: text/plain; charset=\"ISO-8859-1\"\n"
. "Content-transfer-encoding: 8bit\n";
if(!mail($email_address, $Subject, $Body, $Header)){ echo 'There was an error while trying to process your data. Please contact the admin at admin@worxtech.com.'; }
header('Location: contact_success.php');
?>