|
 |
 |
 |
 |
Submit A Tutorial: |
| |
 |
 |
| |
|
| |
|
| |
@,;:\"\/\[\]?=]+@\w[\w-]*(\.\w[\w-]*)*\.[a-z]{2,}$/i",$_POST['email']))
{
$header = "From: {$_POST['name']} <{$_POST['email']}>rn";
$header .= "MIME-Version: 1.0rn";
$header .= "Content-Type: text/html; charset=iso-8859-1rn";
$header .= "X-Priority: 3rn";
$header .= "X-MSMail-Priority: Normalrn";
$header .= "X-Mailer: PHP / ".phpversion()."rn";
ini_set(sendmail_from, $_POST['email']);
$content = $_POST['content']."\r\nSent From: {$_SERVER['REMOTE_ADDR']}";
mail($recipient, Echo, $content, $header);
echo 'Your site has been echoed, it may be chosen to appear on the home page if your site is good enough to meet our demands.';
}
else
{
die('Sorry your email is invalid please go back and check!');
}
}
else
{
die('Sorry you have missed a field please go back and check!');
}
} else {
echo("
");
}
}
else
{
echo("Please log in, in order to send an email to the administrator.");
}
?>
|
|
 |
 |
 |
|
|
 |