if($_REQUEST["emailfriend"] == "1") { $fromemail = $_REQUEST["email"]; $fromname = $_REQUEST["name"]; $toemail = $_REQUEST["sendEmail"]; $url = $_REQUEST["url"]; $to = $toemail; $headers = "From: $fromname <$fromemail>\r\n"; $headers .= "Reply-To: $fromname <$fromemail>\r\n"; $headers .= "X-Sender: <$fromemail>\n"; $headers .= "X-Mailer: PHP\n"; // mailer $headers .= "X-Priority: 3\n"; $headers .= "Content-Type: text/plain; charset=iso-8859-1\n"; $headers .= "Content-Transfer-Encoding: 7bit\n"; $subject = "Check out this webpage..."; $message = "Your friend $fromname thought you might be interested in the following webpage\r\n"; $message .= "$url\r\n\r\n"; mail($to,$subject,$message,$headers); } ?>
| SITE BY STRANGE |