$visitor = $_POST['visitor'];
$visitormail = $_POST['visitormail'];
$notes = $_POST['notes'];
$attn = $_POST['attn'];
if (eregi('http:', $notes)) {
die ("Message cannot have http:");
}
if( !$visitormail == "" &&
(!strstr($visitormail,"@") || !strstr($visitormail,"."))) {
echo "
\n”;
$badinput = “
\n”;
echo $badinput;
die (“Go back! ! “);
}
if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo “
\n”;
die (“Use back! ! “);
}
$todayis = date(“l, F j, Y, g:i a”) ;
$attn = $attn ;
$subject = $attn;
$notes = stripcslashes($notes);
$message = ” $todayis [EST] \n
Attention: $attn \n
Message: $notes \n
From: $visitor ($visitormail)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
“;
$from = “From: $visitormail\r\n”;
echo “This mail is for $id”;
mail(“sundarrajan.g.s@gmail.com”, $subject, $message, $from);
?>
Date:
Thank You : ( )
Attention:
Message:
“, $notes);
echo $notesout; ?>
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||