Contact Us Submit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<?php
$ip = $POST['ip']; $httpref = $POST['httpref']; $httpagent = $POST['httpagent']; $visitor = $POST['visitor']; $visitormail = $POST['visitormail']; $notes = $POST['notes']; $attn = $POST['attn']; $secretcode= $POST['secretcode'];
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "
Use Back - Enter valid e-mail
\n"; $badinput = "Feedback was NOT submitted
\n"; echo $badinput; } if(empty($visitor) || empty($visitormail) || empty($notes )) { echo "Use Back - fill in all fields
\n"; }if ($secretcode == "linux" || $secretcode == "Linux" ){ $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: formmailer@trilug.org\r\n";
mail("steering@trilug.org", $subject, $message, $from);
print "
";
print "Date: ";
echo $todayis ;
print "
Thank You. We'll be in touch shortly.
Attention: ";
echo $attn ;
print "
Message:
";
$notesout = str_replace("\r", "
", $notes);
echo $notesout;
print "
";
echo $ip;
print "
Next Page
Sorry, you have been banned from posting.
";}