Use something like this as your php script to send to:
Save the code as subscribe.php and change the line of HTML mentioned above to:
<form method='post' action='subscribe.php'>
Not tested it, but hopefully that will work.
<?php if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>Use Back - Enter valid e-mail</h2>\n"; $badinput = "<h2>Feedback was NOT submitted</h2>\n"; echo $badinput; } if(empty($visitor) || empty($visitormail) || empty($notes )) { echo "<h2>Use Back - fill in all fields</h2>\n"; } $todayis = date("l, F j, Y, g:i a") ; $attn = $attn ; $subject = "Newsletter request"; $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 Email: ".$_POST['email'] "; $from = "From: $visitormail\r\n"; mail("YourEmail", $subject, $message, $from); ?>
Save the code as subscribe.php and change the line of HTML mentioned above to:
<form method='post' action='subscribe.php'>
Not tested it, but hopefully that will work.