<?php
// Create local PHP variables from the info the user gave in the Flash form -disabled message field
$fromname = $_POST['fromname'];
$fromemail = $_POST['fromemail'];
$fromcomments = $_POST['fromcomments'];
// Strip slashes on the Local variables -disabled message field
$fromname = stripslashes($fromname);
$fromemail = stripslashes($fromemail);
$fromcomments = stripslashes($fromcomments);
$from = $fromemail;
$subject = "my title";
//Begin HTML Email Message
$message = $fromcomments;
echo '
<html>
<body bgcolor="#FFFFFF">
<b>New entry<br /> </b>
<b> '.$fromemail.', </b>
<b> <br /> </b>
<b> '.$fromcomments.'<br /> </b>
<b> <a href="http://www.mywebsite.com">www.mywebsite.com</a><br /> </b>
</body>
</html>
';
//end of message
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
$to = "myemail@myhost.com";
mail($to, $subject, $message, $headers);
exit();
?>
// Create local PHP variables from the info the user gave in the Flash form -disabled message field
$fromname = $_POST['fromname'];
$fromemail = $_POST['fromemail'];
$fromcomments = $_POST['fromcomments'];
// Strip slashes on the Local variables -disabled message field
$fromname = stripslashes($fromname);
$fromemail = stripslashes($fromemail);
$fromcomments = stripslashes($fromcomments);
$from = $fromemail;
$subject = "my title";
//Begin HTML Email Message
$message = $fromcomments;
echo '
<html>
<body bgcolor="#FFFFFF">
<b>New entry<br /> </b>
<b> '.$fromemail.', </b>
<b> <br /> </b>
<b> '.$fromcomments.'<br /> </b>
<b> <a href="http://www.mywebsite.com">www.mywebsite.com</a><br /> </b>
</body>
</html>
';
//end of message
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
$to = "myemail@myhost.com";
mail($to, $subject, $message, $headers);
exit();
?>