Global Variables

Sabtu, 05 Maret 2011






Sendemail Script






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 "

Use Back - 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";


mail("YourEmail", $subject, $message, $from);

?>

Date:


Thank You : ( )



Attention:


Message:

", $notes);
echo $notesout; ?>







Next Page



0 komentar:

Posting Komentar