Communicate




$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$id = $_POST['id'];

$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 "

Use Back – Enter valid e-mail

\n”;
$badinput = “

Feedback was NOT submitted

\n”;
echo $badinput;
die (“Go back! ! “);
}

if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo “

Fill in all fields

\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; ?>

Go to Alumni Page.


Google Connect

Subscribe!

Quench your brains thirst :-)

Wanna recommend someone?


Drop a mail with a brief passage about the person to coffeewithsundar at gmail or leave a message at the contact form here

More Interviews to come!! :-D

Stay tuned

Pages


Previous posts

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Archives


Subscribe over email!

Enter your email address:

Delivered by FeedBurner


Shared Items