Forum Moderators: coopster
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sendemail Script</title>
</head>
<body>
<!-- Reminder: Add the link for the 'next page' (at the bottom) -->
<!-- Reminder: Change 'YourEmail' to Your real email -->
<?php
if(!$email == "" && (!strstr($email,"@") ¦¦!strstr($email,".")))
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
}
if(empty($name) ¦¦ empty($email) ) {
echo "<h2>Use Back - fill in all fields marked *</h2>\n";
}
echo $badinput;
$todayis = date("l, F j, Y, g:i a") ;
$message = " $todayis [EST] \n
Attention: $attn \n
Message: $notes \n
From: $name ($email)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
";
$from = "From: $email\r\n";
mail("jack@peacockvisualarts.co.uk", $name, $dob, $Address, $postcode, $email, $phone, $camera, $digital, $Sound, $Lighting, $animation, $Editing, $Presenting, $Admin, $Research, $other, $experience, $strengths, $week day, $week ev, $weekend day, $weekend evening, $aspirations, $comments);
?>
<p align="center">
Date: <?php echo $todayis?>
<br />
Thank You : <?php echo $name?> ( <?php echo $email?> )
<br />
<br /><br />
<a href="contact.php"> Next Page </a>
</p>
</body>
</html>