header("Location: https:http://dancingorfightingghosts.blogspot.com/2011/12/some-php.html");
}
?>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
$username = $_POST["username"];
$usermail = $_POST["usermail"];
$msg_text = $_POST["msg_text"];
$ip = $_POST["ip"];
$httpref = $_POST["httpref"];
$httpagent = $_POST["httpagent"];
if(empty($username) || empty($usermail) || empty($msg_text ))
{
echo <<
You did not fill in all fields.
Please try again!!
END;
return;
}
if( (!strstr($usermail,"@")) || (!strstr($usermail,".")))
{
echo <<
You did not enter a valid email address, so no mail was sent.
Please try again!!
