View file anonim_mail/mail.php

File size: 1.15Kb
<?
require_once"../template/start.php";
require_once"../template/regglobals.php";
require_once"../template/config.php";
require_once"../template/functions.php";
require_once"../template/antidos.php";
require_once"../template/cookies.php";
require_once"../template/gzip.php";
require_once"../template/header.php";
require_once"../template/referer.php";
include_once"../themes/$config_themes/index.php";
include_once"../template/isset.php";
 
$to = $_POST["to"];
$from = $_POST["from"];
$thm = $_POST["thm"];
$txt = $_POST["txt"];

mail($to,$thm,$txt,"From: <$from>\r\nContent-type:text/plain;charset=utf-8"); 

echo' <b>Отправлено МЫло на хрен!!!</b><BR>';
echo"<b>На адрес:</b><br> <i>$to</i> <br>
<b>От адресата:</b><br> <i>$from</i> <br>
 <b>Тема сообщения:</b><br> <i>$thm</i> <br>
 <b>Сообщение:</b><br> <i>$txt</i> <br>";
echo'<img src="../images/img/mail.gif" alt=""> <a href="index">Отправить ЕщЁ</a><br>';
echo'<img src="../images/img/homepage.gif" alt=""> <a href="../index.php?'.SID.'">На главную</a>'; 
include_once"../themes/$config_themes/foot.php";
?>